Commit 01b3437bdc90b20455fa0a2b15bc5c7816a0532e
1 parent
edb3d545
Exists in
master
and in
1 other branch
Updating windows package.
Showing
2 changed files
with
1 additions
and
116 deletions
Show diff stats
src/include/config.h.in
@@ -46,6 +46,7 @@ | @@ -46,6 +46,7 @@ | ||
46 | #undef PACKAGE_NAME | 46 | #undef PACKAGE_NAME |
47 | #undef PACKAGE_VERSION | 47 | #undef PACKAGE_VERSION |
48 | #undef PACKAGE_RELEASE | 48 | #undef PACKAGE_RELEASE |
49 | + #undef PRODUCT_NAME | ||
49 | 50 | ||
50 | #undef USING_STATIC_IPC3270 | 51 | #undef USING_STATIC_IPC3270 |
51 | #undef USING_DYNAMIC_IPC3270 | 52 | #undef USING_DYNAMIC_IPC3270 |
win/hllapi.nsi
@@ -1,116 +0,0 @@ | @@ -1,116 +0,0 @@ | ||
1 | -!include "MUI2.nsh" | ||
2 | -!include "x64.nsh" | ||
3 | -!include "FileFunc.nsh" | ||
4 | - | ||
5 | -Name "hllapi" | ||
6 | -Caption "hllapi - PW3270 HLLAPI Module" | ||
7 | -outfile "hllapi-5.2.19.9-i686.exe" | ||
8 | - | ||
9 | -XPStyle on | ||
10 | - | ||
11 | -installDir "$PROGRAMFILES\hllapi" | ||
12 | - | ||
13 | -# Get installation folder from registry if available | ||
14 | -InstallDirRegKey HKLM "Software\hllapi" "InstallLocation" | ||
15 | - | ||
16 | -RequestExecutionLevel admin | ||
17 | - | ||
18 | -# Properties | ||
19 | -VIProductVersion "5.2.19.9" | ||
20 | -VIFileVersion "19.9.23.15" | ||
21 | - | ||
22 | -VIAddVersionKey "ProductVersion" "5.2.19.9" | ||
23 | -VIAddVersionKey "FileVersion" "19.9.23.15" | ||
24 | - | ||
25 | -VIAddVersionKey "ProductName" "hllapi" | ||
26 | -VIAddVersionKey "FileDescription" "PW3270 HLLAPI Module" | ||
27 | -VIAddVersionKey "LegalCopyright" "GPL-2.0" | ||
28 | - | ||
29 | -# Interface | ||
30 | - | ||
31 | -!define MUI_ABORTWARNING | ||
32 | -# !insertmacro MUI_PAGE_WELCOME | ||
33 | -!insertmacro MUI_PAGE_LICENSE "LICENSE" | ||
34 | -!insertmacro MUI_PAGE_COMPONENTS | ||
35 | -!insertmacro MUI_PAGE_DIRECTORY | ||
36 | -!insertmacro MUI_PAGE_INSTFILES | ||
37 | - | ||
38 | -# !insertmacro MUI_UNPAGE_WELCOME | ||
39 | -!insertmacro MUI_UNPAGE_CONFIRM | ||
40 | -!insertmacro MUI_UNPAGE_INSTFILES | ||
41 | -# !insertmacro MUI_UNPAGE_FINISH | ||
42 | - | ||
43 | -# Languages | ||
44 | -!insertmacro MUI_LANGUAGE "English" | ||
45 | - | ||
46 | -# Section scripts | ||
47 | -!include Sections.nsh | ||
48 | - | ||
49 | -# default section | ||
50 | -SubSection "hllapi" SecMain | ||
51 | - | ||
52 | - Section "Core" SecCore | ||
53 | - | ||
54 | - SetRegView 32 | ||
55 | - ${DisableX64FSRedirection} | ||
56 | - | ||
57 | - # define the output path for this file | ||
58 | - setOutPath $SYSDIR | ||
59 | - SetShellVarContext all | ||
60 | - | ||
61 | - file "/oname=$SYSDIR\hllapi.dll" "libhllapi.dll" | ||
62 | - | ||
63 | - # For compatibility with old scripts. | ||
64 | - file "/oname=$SYSDIR\libhllapi.dll" "libhllapi.dll" | ||
65 | - | ||
66 | - # define uninstaller name | ||
67 | - SetRegView 32 | ||
68 | - | ||
69 | - writeUninstaller $INSTDIR\uninstall.exe | ||
70 | - | ||
71 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\hllapi" \ | ||
72 | - "DisplayName" "hllapi - PW3270 HLLAPI Module" | ||
73 | - | ||
74 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\hllapi" \ | ||
75 | - "DisplayVersion" "5.2" | ||
76 | - | ||
77 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\hllapi" \ | ||
78 | - "UninstallString" "$INSTDIR\uninstall.exe" | ||
79 | - | ||
80 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\hllapi" \ | ||
81 | - "InstallLocation" "$INSTDIR" | ||
82 | - | ||
83 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\hllapi" \ | ||
84 | - "NoModify" "1" | ||
85 | - | ||
86 | - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\hllapi" \ | ||
87 | - "NoRepair" "1" | ||
88 | - | ||
89 | - # Save instalation dir | ||
90 | - WriteRegStr HKCU "Software\hllapi" "" $INSTDIR | ||
91 | - | ||
92 | - sectionEnd | ||
93 | - | ||
94 | -SubSectionEnd | ||
95 | - | ||
96 | -Section "Uninstall" | ||
97 | - | ||
98 | - # Always delete uninstaller first | ||
99 | - delete $INSTDIR\uninstaller.exe | ||
100 | - | ||
101 | - # delete installed files | ||
102 | - delete $SYSDIR\hllapi.dll | ||
103 | - delete $SYSDIR\libhllapi.dll | ||
104 | - | ||
105 | - # Remove registry | ||
106 | - SetRegView 32 | ||
107 | - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\hllapi" | ||
108 | - DeleteRegKey HKLM "Software\hllapi" | ||
109 | - | ||
110 | - SetRegView 32 | ||
111 | - DeleteRegKey HKLM "Software\hllapi" | ||
112 | - | ||
113 | -SectionEnd | ||
114 | - | ||
115 | - | ||
116 | - |