Commit 7c7d11ea77c9cd317957a14307ff99ea05f436e8

Authored by perry.werneck@gmail.com
1 parent 310f84c5

Melhorando empacotamento windows

@@ -231,12 +231,15 @@ endif @@ -231,12 +231,15 @@ endif
231 231
232 package: Release 232 package: Release
233 ifneq ($(MAKENSIS),no) 233 ifneq ($(MAKENSIS),no)
  234 + @make -C nsi $(PACKAGE_NAME)-@host_cpu@.nsi
234 @chmod +x makegtkruntime.sh 235 @chmod +x makegtkruntime.sh
235 @echo " GEN GTK Runtime" 236 @echo " GEN GTK Runtime"
236 @./makegtkruntime.sh 237 @./makegtkruntime.sh
237 @echo " GEN Windows installer" 238 @echo " GEN Windows installer"
238 @cp -rv $(BINDIR)/Release/$(localedir) $(BINDIR)/Release 239 @cp -rv $(BINDIR)/Release/$(localedir) $(BINDIR)/Release
239 - @"$(MAKENSIS)" pw3270-@host_cpu@.nsi 240 + @cat nsi/$(PACKAGE_NAME)-@host_cpu@.nsi | "$(MAKENSIS)" \
  241 + -DLOCALEDIR="$(BINDIR)/Release$(localedir)" \
  242 + -Onsis.log -
240 endif 243 endif
241 244
242 ifneq ($(DPKGBUILD),no) 245 ifneq ($(DPKGBUILD),no)
pw3270-i686-no-gtk.nsi.in
@@ -1,247 +0,0 @@ @@ -1,247 +0,0 @@
1 -!include "MUI2.nsh"  
2 -  
3 -Name "@PACKAGE@"  
4 -Caption "@PACKAGE@ - 3270 Emulator for windows/gtk"  
5 -outfile "@PACKAGE@-@PACKAGE_VERSION@.@PACKAGE_LEVEL@-requires-gtk-@GTK_MODVERSION@-@host_cpu@.exe"  
6 -XPStyle on  
7 -  
8 -# define the directory to install to  
9 -installDir $PROGRAMFILES\@PACKAGE@  
10 -  
11 -#define the installer icon  
12 -!define MUI_ICON "src\pw3270\@PACKAGE@.ico"  
13 -!define MUI_UNICON "src\pw3270\@PACKAGE@.ico"  
14 -icon "src\pw3270\@PACKAGE@.ico"  
15 -  
16 -# Get installation folder from registry if available  
17 -InstallDirRegKey HKLM "Software\@PACKAGE@" "InstallLocation"  
18 -  
19 -RequestExecutionLevel admin  
20 -  
21 -# Properties  
22 -VIProductVersion "@PACKAGE_VERSION@.@PACKAGE_LEVEL@.@PACKAGE_REVISION@"  
23 -VIAddVersionKey "ProductName" "@PACKAGE@"  
24 -VIAddVersionKey "FileDescription" "3270 Emulator for windows/gtk"  
25 -VIAddVersionKey "FileVersion" "@PACKAGE_REVISION@"  
26 -VIAddVersionKey "LegalCopyright" "GPL-2.0"  
27 -  
28 -# Interface  
29 -  
30 -!define MUI_ABORTWARNING  
31 -# !insertmacro MUI_PAGE_WELCOME  
32 -!insertmacro MUI_PAGE_LICENSE "LICENSE"  
33 -!insertmacro MUI_PAGE_COMPONENTS  
34 -!insertmacro MUI_PAGE_DIRECTORY  
35 -!insertmacro MUI_PAGE_INSTFILES  
36 -  
37 -# !insertmacro MUI_UNPAGE_WELCOME  
38 -!insertmacro MUI_UNPAGE_CONFIRM  
39 -!insertmacro MUI_UNPAGE_INSTFILES  
40 -# !insertmacro MUI_UNPAGE_FINISH  
41 -  
42 -# Languages  
43 -!insertmacro MUI_LANGUAGE "English"  
44 -  
45 -# Section scripts  
46 -!include Sections.nsh  
47 -  
48 -# default section  
49 -SubSection "@PACKAGE@" SecMain  
50 -  
51 - Section "Core" SecCore  
52 -  
53 - # define the output path for this file  
54 - setOutPath $INSTDIR  
55 - SetShellVarContext all  
56 -  
57 - createShortCut "$SMPROGRAMS\@PACKAGE@.lnk" "$INSTDIR\@PACKAGE@.exe"  
58 - createShortCut "$DESKTOP\@PACKAGE@.lnk" "$INSTDIR\@PACKAGE@.exe"  
59 -  
60 - # Binary files  
61 - file "/oname=$INSTDIR\@PACKAGE@.exe" ".bin\Release\@PACKAGE@.exe"  
62 - file "/oname=$INSTDIR\@PACKAGE@.ico" "src\pw3270\@PACKAGE@.ico"  
63 - file "/oname=$INSTDIR\lib3270.dll.@PACKAGE_VERSION@" ".bin\Release\lib3270.dll.@PACKAGE_VERSION@"  
64 - file "/oname=$INSTDIR\pw3270.dll.@PACKAGE_VERSION@" ".bin\Release\pw3270.dll.@PACKAGE_VERSION@"  
65 -  
66 - # Configuration files  
67 - file "/oname=$INSTDIR\@PACKAGE@-logo.png" "src\pw3270\@PACKAGE@-logo.png"  
68 - file "/oname=$INSTDIR\@PACKAGE@.png" "src\pw3270\@PACKAGE@.png"  
69 - file "/oname=$INSTDIR\colors.conf" "colors.conf"  
70 -  
71 - # Documentation files  
72 - file "/oname=$INSTDIR\ChangeLog" "ChangeLog"  
73 - file "/oname=$INSTDIR\AUTHORS" "AUTHORS"  
74 - file "/oname=$INSTDIR\LICENSE" "LICENSE"  
75 -  
76 - # Misc folders  
77 - CreateDirectory "$INSTDIR\certs"  
78 - CreateDirectory "$INSTDIR\plugins"  
79 -  
80 - # UI definition files  
81 - CreateDirectory "$INSTDIR\ui"  
82 -  
83 - file "/oname=$INSTDIR\ui\00default.xml" "ui\00default.xml"  
84 - file "/oname=$INSTDIR\ui\10keypad.xml" "ui\10keypad.xml"  
85 -  
86 - # Locale files  
87 - CreateDirectory "$INSTDIR\@localedir@\pt_BR\LC_MESSAGES"  
88 - file "/oname=$INSTDIR\@localedir@\pt_BR\LC_MESSAGES\@PACKAGE@.mo" ".bin\Release\@localedir@\pt_BR\LC_MESSAGES\@PACKAGE@.mo"  
89 -  
90 - # Save DataDir  
91 - WriteRegStr HKLM "Software\@PACKAGE@" "datadir" "$INSTDIR"  
92 - WriteRegStr HKLM "Software\@PACKAGE@" "appName" "$INSTDIR\@PACKAGE@.exe"  
93 -  
94 - # define uninstaller name  
95 - writeUninstaller $INSTDIR\uninstall.exe  
96 -  
97 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
98 - "DisplayName" "@PACKAGE@ - 3270 emulator for windows/gtk"  
99 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
100 - "DisplayIcon" "$INSTDIR\@PACKAGE@.ico"  
101 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
102 - "DisplayVersion" "@PACKAGE_VERSION@ (Rev: @PACKAGE_REVISION@)"  
103 -  
104 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
105 - "UninstallString" "$INSTDIR\uninstall.exe"  
106 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
107 - "InstallLocation" "$INSTDIR"  
108 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
109 - "NoModify" "1"  
110 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
111 - "NoRepair" "1"  
112 -  
113 - # Save instalation dir  
114 - WriteRegStr HKCU "Software\@PACKAGE@" "" $INSTDIR  
115 -  
116 - sectionEnd  
117 -  
118 - SubSection "Plugins" SecPLugin  
119 -  
120 - Section /o "HLLAPI" HLLAPIPlugin  
121 - setOutPath $INSTDIR  
122 -  
123 - CreateDirectory "$INSTDIR\plugins"  
124 - file "/oname=$INSTDIR\plugins\hllapi.dll" ".bin\Release\plugins\hllapi.dll"  
125 - file "/oname=$SYSDIR\libhllapi.dll" ".bin\Release\hllapi.dll.@PACKAGE_VERSION@"  
126 -  
127 - sectionEnd  
128 -  
129 - Section /o "Rexx" RexxPlugin  
130 -  
131 - setOutPath $INSTDIR  
132 -  
133 - file "/oname=$INSTDIR\plugins\rxplug.dll" ".bin\Release\plugins\rx3270.dll"  
134 - file "/oname=$INSTDIR\ui\80rexx.xml" "ui\80rexx.xml"  
135 -  
136 - file "/oname=$PROGRAMFILES\ooRexx\rx3270.cls" "src\plugins\rx3270\rx3270.cls"  
137 - file "/oname=$INSTDIR\rx3270.dll.@PACKAGE_VERSION@" ".bin\Release\rx3270.dll.@PACKAGE_VERSION@"  
138 - file "/oname=$PROGRAMFILES\ooRexx\rx3270.dll" ".bin\Release\rx3270.dll.@PACKAGE_VERSION@"  
139 -  
140 - sectionEnd  
141 -  
142 - SubSectionEnd  
143 -  
144 - SubSection "Menus, Keypads & Toolbars" SecMenu  
145 -  
146 - Section /o "View trace Menu" TraceMenu  
147 - file "/oname=$INSTDIR\ui\98trace.xml" "ui\98trace.xml"  
148 - sectionEnd  
149 -  
150 - Section /o "Application debug" DBGMenu  
151 - file "/oname=$INSTDIR\ui\99debug.xml" "ui\99debug.xml"  
152 - sectionEnd  
153 -  
154 - SubSectionEnd  
155 -  
156 -SubSectionEnd  
157 -  
158 -Section /o "Software Development Kit" SecSDK  
159 -  
160 - CreateDirectory "$INSTDIR\sdk"  
161 - CreateDirectory "$INSTDIR\sdk\include"  
162 - CreateDirectory "$INSTDIR\sdk\include\lib3270"  
163 - CreateDirectory "$INSTDIR\sdk\include\pw3270"  
164 - CreateDirectory "$INSTDIR\sdk\sample"  
165 - CreateDirectory "$INSTDIR\sdk\sample\classlib"  
166 -  
167 - setOutPath $INSTDIR\sdk\include  
168 - file "src\include\lib3270.h"  
169 - file "src\include\pw3270.h"  
170 -  
171 - setOutPath $INSTDIR\sdk\include\pw3270  
172 - file "src\include\pw3270\class.h"  
173 - file "src\include\pw3270\hllapi.h"  
174 - file "src\include\pw3270\ipcpackets.h"  
175 - file "src\include\pw3270\plugin.h"  
176 - file "src\include\pw3270\trace.h"  
177 - file "src\include\pw3270\v3270.h"  
178 -  
179 - setOutPath $INSTDIR\sdk\include\lib3270  
180 - file "src\include\lib3270\config.h"  
181 - file "src\include\rules.mak"  
182 -  
183 - setOutPath $INSTDIR\sdk\sample\connect  
184 - file "src\sample\Makefile"  
185 - file "src\sample\connect.c"  
186 -  
187 - setOutPath $INSTDIR\sdk\sample\classlib  
188 - file "src\classlib\*.cc"  
189 - file "src\include\pw3270\class.h"  
190 -  
191 -SectionEnd  
192 -  
193 -# create a section to define what the uninstaller does.  
194 -# the section will always be named "Uninstall"  
195 -section "Uninstall"  
196 -  
197 - # Always delete uninstaller first  
198 - delete $INSTDIR\uninstaller.exe  
199 -  
200 - # Set SMPROGRAMS and DESKTOP path  
201 - SetShellVarContext all  
202 -  
203 - # now delete installed files  
204 - delete $INSTDIR\@PACKAGE@.exe  
205 -  
206 - delete $SMPROGRAMS\@PACKAGE@.lnk  
207 - delete $DESKTOP\@PACKAGE@.lnk  
208 -  
209 - RMDir /r "$INSTDIR\locale"  
210 - RMDir /r "$INSTDIR\share"  
211 - RMDir /r "$INSTDIR\etc"  
212 - RMDir /r "$INSTDIR\plugins"  
213 - RMDir /r "$INSTDIR\sdk"  
214 - RMDir /r "$INSTDIR\gtk2-runtime"  
215 -  
216 - # Delete all files  
217 - delete "$INSTDIR\*.dll"  
218 -  
219 - # Remove registry  
220 - DeleteRegKey HKLM "Software\@PACKAGE@"  
221 - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@"  
222 - DeleteRegKey HKLM "Software\@PACKAGE@"  
223 -  
224 - # Delete System libraries  
225 - delete $SYSDIR\libhllapi.dll  
226 -  
227 - # Delete extension libraries  
228 - delete "$PROGRAMFILES\ooRexx\rx3270.cls"  
229 - delete "$PROGRAMFILES\ooRexx\rx3270.dll"  
230 -  
231 - RMDir /r "$INSTDIR"  
232 -  
233 -sectionEnd  
234 -  
235 -Function .onInit  
236 -  
237 -${if} ${FileExists} `$PROGRAMFILES\ooRexx\rexx.exe`  
238 -  
239 - SectionGetFlags "${RexxPlugin}" $0  
240 - IntOp $0 $0 | ${SF_SELECTED}  
241 - SectionSetFlags "${RexxPlugin}" $0  
242 -  
243 -${EndIf}  
244 -  
245 -FunctionEnd  
246 -  
247 -  
pw3270-i686.nsi.in
@@ -1,280 +0,0 @@ @@ -1,280 +0,0 @@
1 -!include "MUI2.nsh"  
2 -  
3 -Name "@PACKAGE@"  
4 -Caption "@PACKAGE@ - 3270 Emulator for windows/gtk"  
5 -outfile "@PACKAGE@-@PACKAGE_VERSION@.@PACKAGE_LEVEL@-gtk-@GTK_MODVERSION@-@host_cpu@.exe"  
6 -XPStyle on  
7 -  
8 -# define the directory to install to  
9 -installDir $PROGRAMFILES\@PACKAGE@  
10 -  
11 -#define the installer icon  
12 -!define MUI_ICON "src\pw3270\@PACKAGE@.ico"  
13 -!define MUI_UNICON "src\pw3270\@PACKAGE@.ico"  
14 -icon "src\pw3270\@PACKAGE@.ico"  
15 -  
16 -# Get installation folder from registry if available  
17 -InstallDirRegKey HKLM "Software\@PACKAGE@" "InstallLocation"  
18 -  
19 -RequestExecutionLevel admin  
20 -  
21 -# Properties  
22 -VIProductVersion "@PACKAGE_VERSION@.@PACKAGE_LEVEL@.@PACKAGE_REVISION@"  
23 -VIAddVersionKey "ProductName" "@PACKAGE@"  
24 -VIAddVersionKey "FileDescription" "3270 Emulator for windows/gtk"  
25 -VIAddVersionKey "FileVersion" "@PACKAGE_REVISION@"  
26 -VIAddVersionKey "LegalCopyright" "GPL-2.0"  
27 -  
28 -# Interface  
29 -  
30 -!define MUI_ABORTWARNING  
31 -# !insertmacro MUI_PAGE_WELCOME  
32 -!insertmacro MUI_PAGE_LICENSE "LICENSE"  
33 -!insertmacro MUI_PAGE_COMPONENTS  
34 -!insertmacro MUI_PAGE_DIRECTORY  
35 -!insertmacro MUI_PAGE_INSTFILES  
36 -  
37 -# !insertmacro MUI_UNPAGE_WELCOME  
38 -!insertmacro MUI_UNPAGE_CONFIRM  
39 -!insertmacro MUI_UNPAGE_INSTFILES  
40 -# !insertmacro MUI_UNPAGE_FINISH  
41 -  
42 -# Languages  
43 -!insertmacro MUI_LANGUAGE "English"  
44 -  
45 -# Section scripts  
46 -!include Sections.nsh  
47 -  
48 -# default section  
49 -SubSection "@PACKAGE@" SecMain  
50 -  
51 - Section "Core" SecCore  
52 -  
53 - # define the output path for this file  
54 - setOutPath $INSTDIR  
55 - SetShellVarContext all  
56 -  
57 - createShortCut "$SMPROGRAMS\@PACKAGE@.lnk" "$INSTDIR\@PACKAGE@.exe"  
58 - createShortCut "$DESKTOP\@PACKAGE@.lnk" "$INSTDIR\@PACKAGE@.exe"  
59 -  
60 - # Binary files  
61 - file "/oname=$INSTDIR\@PACKAGE@.exe" ".bin\Release\@PACKAGE@.exe"  
62 - file "/oname=$INSTDIR\@PACKAGE@.ico" "src\pw3270\@PACKAGE@.ico"  
63 - file "/oname=$INSTDIR\lib3270.dll.@PACKAGE_VERSION@" ".bin\Release\lib3270.dll.@PACKAGE_VERSION@"  
64 - file "/oname=$INSTDIR\pw3270.dll.@PACKAGE_VERSION@" ".bin\Release\pw3270.dll.@PACKAGE_VERSION@"  
65 -  
66 - # Configuration files  
67 - file "/oname=$INSTDIR\@PACKAGE@-logo.png" "src\pw3270\@PACKAGE@-logo.png"  
68 - file "/oname=$INSTDIR\@PACKAGE@.png" "src\pw3270\@PACKAGE@.png"  
69 - file "/oname=$INSTDIR\colors.conf" "colors.conf"  
70 -  
71 - # Documentation files  
72 - file "/oname=$INSTDIR\ChangeLog" "ChangeLog"  
73 - file "/oname=$INSTDIR\AUTHORS" "AUTHORS"  
74 - file "/oname=$INSTDIR\LICENSE" "LICENSE"  
75 -  
76 - # Misc folders  
77 - CreateDirectory "$INSTDIR\certs"  
78 - CreateDirectory "$INSTDIR\plugins"  
79 -  
80 - # UI definition files  
81 - CreateDirectory "$INSTDIR\ui"  
82 -  
83 - file "/oname=$INSTDIR\ui\00default.xml" "ui\00default.xml"  
84 - file "/oname=$INSTDIR\ui\10keypad.xml" "ui\10keypad.xml"  
85 -  
86 - # Locale files  
87 - CreateDirectory "$INSTDIR\@localedir@\pt_BR\LC_MESSAGES"  
88 - file "/oname=$INSTDIR\@localedir@\pt_BR\LC_MESSAGES\@PACKAGE@.mo" ".bin\Release\@localedir@\pt_BR\LC_MESSAGES\@PACKAGE@.mo"  
89 -  
90 - # Save DataDir  
91 - WriteRegStr HKLM "Software\@PACKAGE@" "datadir" "$INSTDIR"  
92 - WriteRegStr HKLM "Software\@PACKAGE@" "appName" "$INSTDIR\@PACKAGE@.exe"  
93 -  
94 - # define uninstaller name  
95 - writeUninstaller $INSTDIR\uninstall.exe  
96 -  
97 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
98 - "DisplayName" "@PACKAGE@ - 3270 emulator for windows/gtk"  
99 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
100 - "DisplayIcon" "$INSTDIR\@PACKAGE@.ico"  
101 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
102 - "DisplayVersion" "@PACKAGE_VERSION@ (Rev: @PACKAGE_REVISION@)"  
103 -  
104 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
105 - "UninstallString" "$INSTDIR\uninstall.exe"  
106 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
107 - "InstallLocation" "$INSTDIR"  
108 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
109 - "NoModify" "1"  
110 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
111 - "NoRepair" "1"  
112 -  
113 - # Save instalation dir  
114 - WriteRegStr HKCU "Software\@PACKAGE@" "" $INSTDIR  
115 -  
116 - sectionEnd  
117 -  
118 - SubSection "Plugins" SecPLugin  
119 -  
120 - Section /o "HLLAPI" HLLAPIPlugin  
121 - setOutPath $INSTDIR  
122 -  
123 - CreateDirectory "$INSTDIR\plugins"  
124 - file "/oname=$INSTDIR\plugins\hllapi.dll" ".bin\Release\plugins\hllapi.dll"  
125 - file "/oname=$SYSDIR\libhllapi.dll" ".bin\Release\hllapi.dll.@PACKAGE_VERSION@"  
126 -  
127 - sectionEnd  
128 -  
129 - Section /o "Rexx" RexxPlugin  
130 -  
131 - setOutPath $INSTDIR  
132 -  
133 - file "/oname=$INSTDIR\plugins\rxplug.dll" ".bin\Release\plugins\rx3270.dll"  
134 - file "/oname=$INSTDIR\ui\80rexx.xml" "ui\80rexx.xml"  
135 -  
136 - file "/oname=$PROGRAMFILES\ooRexx\rx3270.cls" "src\plugins\rx3270\rx3270.cls"  
137 - file "/oname=$INSTDIR\rx3270.dll.@PACKAGE_VERSION@" ".bin\Release\rx3270.dll.@PACKAGE_VERSION@"  
138 - file "/oname=$PROGRAMFILES\ooRexx\rx3270.dll" ".bin\Release\rx3270.dll.@PACKAGE_VERSION@"  
139 -  
140 - sectionEnd  
141 -  
142 - SubSectionEnd  
143 -  
144 - SubSection "Menus, Keypads & Toolbars" SecMenu  
145 -  
146 - Section /o "View trace Menu" TraceMenu  
147 - file "/oname=$INSTDIR\ui\98trace.xml" "ui\98trace.xml"  
148 - sectionEnd  
149 -  
150 - Section /o "Application debug" DBGMenu  
151 - file "/oname=$INSTDIR\ui\99debug.xml" "ui\99debug.xml"  
152 - sectionEnd  
153 -  
154 - SubSectionEnd  
155 -  
156 -SubSectionEnd  
157 -  
158 -Section "GTK @GTK_MODVERSION@ Runtime" SecGTK  
159 -  
160 - setOutPath $INSTDIR  
161 - file /r ".bin\gtkruntime\*.*"  
162 -  
163 -SectionEnd  
164 -  
165 -Section /o "Software Development Kit" SecSDK  
166 -  
167 - CreateDirectory "$INSTDIR\sdk"  
168 - CreateDirectory "$INSTDIR\sdk\include"  
169 - CreateDirectory "$INSTDIR\sdk\include\lib3270"  
170 - CreateDirectory "$INSTDIR\sdk\include\pw3270"  
171 - CreateDirectory "$INSTDIR\sdk\sample"  
172 - CreateDirectory "$INSTDIR\sdk\sample\classlib"  
173 -  
174 - setOutPath $INSTDIR\sdk\include  
175 - file "src\include\lib3270.h"  
176 - file "src\include\pw3270.h"  
177 -  
178 - setOutPath $INSTDIR\sdk\include\pw3270  
179 - file "src\include\pw3270\class.h"  
180 - file "src\include\pw3270\hllapi.h"  
181 - file "src\include\pw3270\ipcpackets.h"  
182 - file "src\include\pw3270\plugin.h"  
183 - file "src\include\pw3270\trace.h"  
184 - file "src\include\pw3270\v3270.h"  
185 -  
186 - setOutPath $INSTDIR\sdk\include\lib3270  
187 - file "src\include\lib3270\config.h"  
188 - file "src\include\rules.mak"  
189 -  
190 - setOutPath $INSTDIR\sdk\sample\connect  
191 - file "src\sample\Makefile"  
192 - file "src\sample\connect.c"  
193 -  
194 - setOutPath $INSTDIR\sdk\sample\classlib  
195 - file "src\classlib\*.cc"  
196 - file "src\include\pw3270\class.h"  
197 -  
198 -SectionEnd  
199 -  
200 -# create a section to define what the uninstaller does.  
201 -# the section will always be named "Uninstall"  
202 -section "Uninstall"  
203 -  
204 - # Always delete uninstaller first  
205 - delete $INSTDIR\uninstaller.exe  
206 -  
207 - # Set SMPROGRAMS and DESKTOP path  
208 - SetShellVarContext all  
209 -  
210 - # now delete installed files  
211 - delete $INSTDIR\@PACKAGE@.exe  
212 -  
213 - delete $SMPROGRAMS\@PACKAGE@.lnk  
214 - delete $DESKTOP\@PACKAGE@.lnk  
215 -  
216 - RMDir /r "$INSTDIR\locale"  
217 - RMDir /r "$INSTDIR\share"  
218 - RMDir /r "$INSTDIR\etc"  
219 - RMDir /r "$INSTDIR\plugins"  
220 - RMDir /r "$INSTDIR\sdk"  
221 - RMDir /r "$INSTDIR\gtk2-runtime"  
222 -  
223 - # Delete all files  
224 - delete "$INSTDIR\*.dll"  
225 -  
226 - # Remove registry  
227 - DeleteRegKey HKLM "Software\@PACKAGE@"  
228 - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@"  
229 - DeleteRegKey HKLM "Software\@PACKAGE@"  
230 -  
231 - # Delete System libraries  
232 - delete $SYSDIR\libhllapi.dll  
233 -  
234 - # Delete extension libraries  
235 - delete "$PROGRAMFILES\ooRexx\rx3270.cls"  
236 - delete "$PROGRAMFILES\ooRexx\rx3270.dll"  
237 -  
238 - RMDir /r "$INSTDIR"  
239 -  
240 -sectionEnd  
241 -  
242 -Function .onInit  
243 -  
244 -${if} ${FileExists} `$PROGRAMFILES\ooRexx\rexx.exe`  
245 -  
246 - SectionGetFlags "${RexxPlugin}" $0  
247 - IntOp $0 $0 | ${SF_SELECTED}  
248 - SectionSetFlags "${RexxPlugin}" $0  
249 -  
250 -${EndIf}  
251 -  
252 -ReadRegStr $4 HKLM "Software\gtkwin\@GTK_MODVERSION@" "path"  
253 -  
254 -${if} $4 == ""  
255 -  
256 - SectionGetFlags "${SecGTK}" $0  
257 - IntOp $0 $0 | ${SF_SELECTED}  
258 - SectionSetFlags "${SecGTK}" $0  
259 -  
260 -${Else}  
261 -  
262 - ${if} ${FileExists} `$4\*.*`  
263 -  
264 - SectionGetFlags "${SecGTK}" $0  
265 - IntOp $0 $0 & ${SECTION_OFF}  
266 - SectionSetFlags "${SecGTK}" $0  
267 -  
268 - ${Else}  
269 -  
270 - SectionGetFlags "${SecGTK}" $0  
271 - IntOp $0 $0 | ${SF_SELECTED}  
272 - SectionSetFlags "${SecGTK}" $0  
273 -  
274 - ${EndIf}  
275 -  
276 -${EndIf}  
277 -  
278 -FunctionEnd  
279 -  
280 -  
pw3270-x86_64-no-gtk.nsi.in
@@ -1,257 +0,0 @@ @@ -1,257 +0,0 @@
1 -!include "MUI2.nsh"  
2 -!include x64.nsh  
3 -  
4 -Name "@PACKAGE@"  
5 -Caption "@PACKAGE@ - 3270 Emulator for windows/gtk"  
6 -outfile "@PACKAGE@-@PACKAGE_VERSION@.@PACKAGE_LEVEL@-requires-gtk-@GTK_MODVERSION@-@host_cpu@.exe"  
7 -XPStyle on  
8 -  
9 -installDir "$PROGRAMFILES64\pw3270"  
10 -  
11 -#define the installer icon  
12 -!define MUI_ICON "src\pw3270\@PACKAGE@.ico"  
13 -!define MUI_UNICON "src\pw3270\@PACKAGE@.ico"  
14 -icon "src\pw3270\@PACKAGE@.ico"  
15 -  
16 -# Get installation folder from registry if available  
17 -InstallDirRegKey HKLM "Software\@PACKAGE@" "InstallLocation"  
18 -  
19 -RequestExecutionLevel admin  
20 -  
21 -# Properties  
22 -VIProductVersion "@PACKAGE_VERSION@.@PACKAGE_LEVEL@.@PACKAGE_REVISION@"  
23 -VIAddVersionKey "ProductName" "@PACKAGE@"  
24 -VIAddVersionKey "FileDescription" "3270 Emulator for windows/gtk"  
25 -VIAddVersionKey "FileVersion" "@PACKAGE_REVISION@"  
26 -VIAddVersionKey "LegalCopyright" "GPL-2.0"  
27 -  
28 -# Interface  
29 -  
30 -!define MUI_ABORTWARNING  
31 -# !insertmacro MUI_PAGE_WELCOME  
32 -!insertmacro MUI_PAGE_LICENSE "LICENSE"  
33 -!insertmacro MUI_PAGE_COMPONENTS  
34 -!insertmacro MUI_PAGE_DIRECTORY  
35 -!insertmacro MUI_PAGE_INSTFILES  
36 -  
37 -# !insertmacro MUI_UNPAGE_WELCOME  
38 -!insertmacro MUI_UNPAGE_CONFIRM  
39 -!insertmacro MUI_UNPAGE_INSTFILES  
40 -# !insertmacro MUI_UNPAGE_FINISH  
41 -  
42 -# Languages  
43 -!insertmacro MUI_LANGUAGE "English"  
44 -  
45 -# Section scripts  
46 -!include Sections.nsh  
47 -  
48 -# default section  
49 -SubSection "@PACKAGE@" SecMain  
50 -  
51 - Section "Core" SecCore  
52 -  
53 - SetRegView 64  
54 - ${DisableX64FSRedirection}  
55 -  
56 - # define the output path for this file  
57 - setOutPath $INSTDIR  
58 - SetShellVarContext all  
59 -  
60 - createShortCut "$SMPROGRAMS\@PACKAGE@.lnk" "$INSTDIR\@PACKAGE@.exe"  
61 - createShortCut "$DESKTOP\@PACKAGE@.lnk" "$INSTDIR\@PACKAGE@.exe"  
62 -  
63 - # Binary files  
64 - file "/oname=$INSTDIR\@PACKAGE@.exe" ".bin\Release\@PACKAGE@.exe"  
65 - file "/oname=$INSTDIR\@PACKAGE@.ico" "src\pw3270\@PACKAGE@.ico"  
66 - file "/oname=$INSTDIR\lib3270.dll.@PACKAGE_VERSION@" ".bin\Release\lib3270.dll.@PACKAGE_VERSION@"  
67 - file "/oname=$INSTDIR\pw3270.dll.@PACKAGE_VERSION@" ".bin\Release\pw3270.dll.@PACKAGE_VERSION@"  
68 -  
69 - # Configuration files  
70 - file "/oname=$INSTDIR\@PACKAGE@-logo.png" "src\pw3270\@PACKAGE@-logo.png"  
71 - file "/oname=$INSTDIR\@PACKAGE@.png" "src\pw3270\@PACKAGE@.png"  
72 - file "/oname=$INSTDIR\colors.conf" "colors.conf"  
73 -  
74 - # Documentation files  
75 - file "/oname=$INSTDIR\ChangeLog" "ChangeLog"  
76 - file "/oname=$INSTDIR\AUTHORS" "AUTHORS"  
77 - file "/oname=$INSTDIR\LICENSE" "LICENSE"  
78 -  
79 - # Misc folders  
80 - CreateDirectory "$INSTDIR\certs"  
81 - CreateDirectory "$INSTDIR\plugins"  
82 -  
83 - # UI definition files  
84 - CreateDirectory "$INSTDIR\ui"  
85 -  
86 - file "/oname=$INSTDIR\ui\00default.xml" "ui\00default.xml"  
87 - file "/oname=$INSTDIR\ui\10keypad.xml" "ui\10keypad.xml"  
88 -  
89 - # Locale files  
90 - CreateDirectory "$INSTDIR\@localedir@\pt_BR\LC_MESSAGES"  
91 - file "/oname=$INSTDIR\@localedir@\pt_BR\LC_MESSAGES\@PACKAGE@.mo" ".bin\Release\@localedir@\pt_BR\LC_MESSAGES\@PACKAGE@.mo"  
92 -  
93 - # Save DataDir  
94 - SetRegView 64  
95 - WriteRegStr HKLM "Software\@PACKAGE@" "datadir" "$INSTDIR"  
96 - WriteRegStr HKLM "Software\@PACKAGE@" "appName" "$INSTDIR\@PACKAGE@.exe"  
97 -  
98 - # define uninstaller name  
99 - SetRegView 32  
100 -  
101 - writeUninstaller $INSTDIR\uninstall.exe  
102 -  
103 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
104 - "DisplayName" "@PACKAGE@ - 3270 emulator for windows/gtk"  
105 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
106 - "DisplayIcon" "$INSTDIR\@PACKAGE@.ico"  
107 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
108 - "DisplayVersion" "@PACKAGE_VERSION@ (Rev: @PACKAGE_REVISION@)"  
109 -  
110 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
111 - "UninstallString" "$INSTDIR\uninstall.exe"  
112 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
113 - "InstallLocation" "$INSTDIR"  
114 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
115 - "NoModify" "1"  
116 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
117 - "NoRepair" "1"  
118 -  
119 - # Save instalation dir  
120 - WriteRegStr HKCU "Software\@PACKAGE@" "" $INSTDIR  
121 -  
122 - sectionEnd  
123 -  
124 - SubSection "Plugins" SecPLugin  
125 -  
126 - Section /o "HLLAPI" HLLAPIPlugin  
127 - setOutPath $INSTDIR  
128 -  
129 - CreateDirectory "$INSTDIR\plugins"  
130 - file "/oname=$INSTDIR\plugins\hllapi.dll" ".bin\Release\plugins\hllapi.dll"  
131 - file "/oname=$SYSDIR\libhllapi.dll" ".bin\Release\hllapi.dll"  
132 -  
133 - sectionEnd  
134 -  
135 - Section /o "Rexx" RexxPlugin  
136 -  
137 - setOutPath $INSTDIR  
138 -  
139 - file "/oname=$INSTDIR\plugins\rxplug.dll" ".bin\Release\plugins\rx3270.dll"  
140 - file "/oname=$INSTDIR\ui\80rexx.xml" "ui\80rexx.xml"  
141 -  
142 - file "/oname=$PROGRAMFILES64\ooRexx\rx3270.cls" "src\plugins\rx3270\rx3270.cls"  
143 - file "/oname=$INSTDIR\rx3270.dll.@PACKAGE_VERSION@" ".bin\Release\rx3270.dll.@PACKAGE_VERSION@"  
144 - file "/oname=$PROGRAMFILES64\ooRexx\rx3270.dll" ".bin\Release\rx3270.dll"  
145 -  
146 - sectionEnd  
147 -  
148 - SubSectionEnd  
149 -  
150 - SubSection "Menus, Keypads & Toolbars" SecMenu  
151 -  
152 - Section /o "View trace Menu" TraceMenu  
153 - file "/oname=$INSTDIR\ui\98trace.xml" "ui\98trace.xml"  
154 - sectionEnd  
155 -  
156 - Section /o "Application debug" DBGMenu  
157 - file "/oname=$INSTDIR\ui\99debug.xml" "ui\99debug.xml"  
158 - sectionEnd  
159 -  
160 - SubSectionEnd  
161 -  
162 -SubSectionEnd  
163 -  
164 -Section /o "Software Development Kit" SecSDK  
165 -  
166 - CreateDirectory "$INSTDIR\sdk"  
167 - CreateDirectory "$INSTDIR\sdk\include"  
168 - CreateDirectory "$INSTDIR\sdk\include\lib3270"  
169 - CreateDirectory "$INSTDIR\sdk\include\pw3270"  
170 - CreateDirectory "$INSTDIR\sdk\sample"  
171 - CreateDirectory "$INSTDIR\sdk\sample\classlib"  
172 -  
173 - setOutPath $INSTDIR\sdk\include  
174 - file "src\include\lib3270.h"  
175 - file "src\include\pw3270.h"  
176 -  
177 - setOutPath $INSTDIR\sdk\include\pw3270  
178 - file "src\include\pw3270\class.h"  
179 - file "src\include\pw3270\hllapi.h"  
180 - file "src\include\pw3270\ipcpackets.h"  
181 - file "src\include\pw3270\plugin.h"  
182 - file "src\include\pw3270\trace.h"  
183 - file "src\include\pw3270\v3270.h"  
184 -  
185 - setOutPath $INSTDIR\sdk\include\lib3270  
186 - file "src\include\lib3270\config.h"  
187 - file "src\include\rules.mak"  
188 -  
189 - setOutPath $INSTDIR\sdk\sample\connect  
190 - file "src\sample\Makefile"  
191 - file "src\sample\connect.c"  
192 -  
193 - setOutPath $INSTDIR\sdk\sample\classlib  
194 - file "src\classlib\*.cc"  
195 - file "src\include\pw3270\class.h"  
196 -  
197 -SectionEnd  
198 -  
199 -# create a section to define what the uninstaller does.  
200 -# the section will always be named "Uninstall"  
201 -section "Uninstall"  
202 -  
203 - # Always delete uninstaller first  
204 - delete $INSTDIR\uninstaller.exe  
205 -  
206 - # Set SMPROGRAMS and DESKTOP path  
207 - SetShellVarContext all  
208 -  
209 - # now delete installed files  
210 - delete $INSTDIR\@PACKAGE@.exe  
211 -  
212 - delete $SMPROGRAMS\@PACKAGE@.lnk  
213 - delete $DESKTOP\@PACKAGE@.lnk  
214 -  
215 - RMDir /r "$INSTDIR\locale"  
216 - RMDir /r "$INSTDIR\share"  
217 - RMDir /r "$INSTDIR\etc"  
218 - RMDir /r "$INSTDIR\plugins"  
219 - RMDir /r "$INSTDIR\sdk"  
220 -  
221 - # Delete all files  
222 - delete "$INSTDIR\*.dll"  
223 -  
224 - # Remove registry  
225 - SetRegView 64  
226 - DeleteRegKey HKLM "Software\@PACKAGE@"  
227 -  
228 - SetRegView 32  
229 - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@"  
230 - DeleteRegKey HKLM "Software\@PACKAGE@"  
231 -  
232 - # Delete System libraries  
233 - delete $SYSDIR\libhllapi.dll  
234 -  
235 - # Delete extension libraries  
236 - delete "$PROGRAMFILES64\ooRexx\rx3270.cls"  
237 - delete "$PROGRAMFILES64\ooRexx\rx3270.dll"  
238 -  
239 - RMDir /r "$INSTDIR"  
240 -  
241 -sectionEnd  
242 -  
243 -Function .onInit  
244 -  
245 -SetRegView 64  
246 -  
247 -${if} ${FileExists} `$PROGRAMFILES64\ooRexx\rexx.exe`  
248 -  
249 - SectionGetFlags "${RexxPlugin}" $0  
250 - IntOp $0 $0 | ${SF_SELECTED}  
251 - SectionSetFlags "${RexxPlugin}" $0  
252 -  
253 -${EndIf}  
254 -  
255 -FunctionEnd  
256 -  
257 -  
pw3270-x86_64.nsi.in
@@ -1,290 +0,0 @@ @@ -1,290 +0,0 @@
1 -!include "MUI2.nsh"  
2 -!include x64.nsh  
3 -  
4 -Name "@PACKAGE@"  
5 -Caption "@PACKAGE@ - 3270 Emulator for windows/gtk"  
6 -outfile "@PACKAGE@-@PACKAGE_VERSION@.@PACKAGE_LEVEL@-gtk-@GTK_MODVERSION@-@host_cpu@.exe"  
7 -XPStyle on  
8 -  
9 -installDir "$PROGRAMFILES64\pw3270"  
10 -  
11 -#define the installer icon  
12 -!define MUI_ICON "src\pw3270\@PACKAGE@.ico"  
13 -!define MUI_UNICON "src\pw3270\@PACKAGE@.ico"  
14 -icon "src\pw3270\@PACKAGE@.ico"  
15 -  
16 -# Get installation folder from registry if available  
17 -InstallDirRegKey HKLM "Software\@PACKAGE@" "InstallLocation"  
18 -  
19 -RequestExecutionLevel admin  
20 -  
21 -# Properties  
22 -VIProductVersion "@PACKAGE_VERSION@.@PACKAGE_LEVEL@.@PACKAGE_REVISION@"  
23 -VIAddVersionKey "ProductName" "@PACKAGE@"  
24 -VIAddVersionKey "FileDescription" "3270 Emulator for windows/gtk"  
25 -VIAddVersionKey "FileVersion" "@PACKAGE_REVISION@"  
26 -VIAddVersionKey "LegalCopyright" "GPL-2.0"  
27 -  
28 -# Interface  
29 -  
30 -!define MUI_ABORTWARNING  
31 -# !insertmacro MUI_PAGE_WELCOME  
32 -!insertmacro MUI_PAGE_LICENSE "LICENSE"  
33 -!insertmacro MUI_PAGE_COMPONENTS  
34 -!insertmacro MUI_PAGE_DIRECTORY  
35 -!insertmacro MUI_PAGE_INSTFILES  
36 -  
37 -# !insertmacro MUI_UNPAGE_WELCOME  
38 -!insertmacro MUI_UNPAGE_CONFIRM  
39 -!insertmacro MUI_UNPAGE_INSTFILES  
40 -# !insertmacro MUI_UNPAGE_FINISH  
41 -  
42 -# Languages  
43 -!insertmacro MUI_LANGUAGE "English"  
44 -  
45 -# Section scripts  
46 -!include Sections.nsh  
47 -  
48 -# default section  
49 -SubSection "@PACKAGE@" SecMain  
50 -  
51 - Section "Core" SecCore  
52 -  
53 - SetRegView 64  
54 - ${DisableX64FSRedirection}  
55 -  
56 - # define the output path for this file  
57 - setOutPath $INSTDIR  
58 - SetShellVarContext all  
59 -  
60 - createShortCut "$SMPROGRAMS\@PACKAGE@.lnk" "$INSTDIR\@PACKAGE@.exe"  
61 - createShortCut "$DESKTOP\@PACKAGE@.lnk" "$INSTDIR\@PACKAGE@.exe"  
62 -  
63 - # Binary files  
64 - file "/oname=$INSTDIR\@PACKAGE@.exe" ".bin\Release\@PACKAGE@.exe"  
65 - file "/oname=$INSTDIR\@PACKAGE@.ico" "src\pw3270\@PACKAGE@.ico"  
66 - file "/oname=$INSTDIR\lib3270.dll.@PACKAGE_VERSION@" ".bin\Release\lib3270.dll.@PACKAGE_VERSION@"  
67 - file "/oname=$INSTDIR\pw3270.dll.@PACKAGE_VERSION@" ".bin\Release\pw3270.dll.@PACKAGE_VERSION@"  
68 -  
69 - # Configuration files  
70 - file "/oname=$INSTDIR\@PACKAGE@-logo.png" "src\pw3270\@PACKAGE@-logo.png"  
71 - file "/oname=$INSTDIR\@PACKAGE@.png" "src\pw3270\@PACKAGE@.png"  
72 - file "/oname=$INSTDIR\colors.conf" "colors.conf"  
73 -  
74 - # Documentation files  
75 - file "/oname=$INSTDIR\ChangeLog" "ChangeLog"  
76 - file "/oname=$INSTDIR\AUTHORS" "AUTHORS"  
77 - file "/oname=$INSTDIR\LICENSE" "LICENSE"  
78 -  
79 - # Misc folders  
80 - CreateDirectory "$INSTDIR\certs"  
81 - CreateDirectory "$INSTDIR\plugins"  
82 -  
83 - # UI definition files  
84 - CreateDirectory "$INSTDIR\ui"  
85 -  
86 - file "/oname=$INSTDIR\ui\00default.xml" "ui\00default.xml"  
87 - file "/oname=$INSTDIR\ui\10keypad.xml" "ui\10keypad.xml"  
88 -  
89 - # Locale files  
90 - CreateDirectory "$INSTDIR\@localedir@\pt_BR\LC_MESSAGES"  
91 - file "/oname=$INSTDIR\@localedir@\pt_BR\LC_MESSAGES\@PACKAGE@.mo" ".bin\Release\@localedir@\pt_BR\LC_MESSAGES\@PACKAGE@.mo"  
92 -  
93 - # Save DataDir  
94 - SetRegView 64  
95 - WriteRegStr HKLM "Software\@PACKAGE@" "datadir" "$INSTDIR"  
96 - WriteRegStr HKLM "Software\@PACKAGE@" "appName" "$INSTDIR\@PACKAGE@.exe"  
97 -  
98 - # define uninstaller name  
99 - SetRegView 32  
100 -  
101 - writeUninstaller $INSTDIR\uninstall.exe  
102 -  
103 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
104 - "DisplayName" "@PACKAGE@ - 3270 emulator for windows/gtk"  
105 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
106 - "DisplayIcon" "$INSTDIR\@PACKAGE@.ico"  
107 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
108 - "DisplayVersion" "@PACKAGE_VERSION@ (Rev: @PACKAGE_REVISION@)"  
109 -  
110 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
111 - "UninstallString" "$INSTDIR\uninstall.exe"  
112 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
113 - "InstallLocation" "$INSTDIR"  
114 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
115 - "NoModify" "1"  
116 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@" \  
117 - "NoRepair" "1"  
118 -  
119 - # Save instalation dir  
120 - WriteRegStr HKCU "Software\@PACKAGE@" "" $INSTDIR  
121 -  
122 - sectionEnd  
123 -  
124 - SubSection "Plugins" SecPLugin  
125 -  
126 - Section /o "HLLAPI" HLLAPIPlugin  
127 - setOutPath $INSTDIR  
128 -  
129 - CreateDirectory "$INSTDIR\plugins"  
130 - file "/oname=$INSTDIR\plugins\hllapi.dll" ".bin\Release\plugins\hllapi.dll"  
131 - file "/oname=$SYSDIR\libhllapi.dll" ".bin\Release\hllapi.dll"  
132 -  
133 - sectionEnd  
134 -  
135 - Section /o "Rexx" RexxPlugin  
136 -  
137 - setOutPath $INSTDIR  
138 -  
139 - file "/oname=$INSTDIR\plugins\rxplug.dll" ".bin\Release\plugins\rx3270.dll"  
140 - file "/oname=$INSTDIR\ui\80rexx.xml" "ui\80rexx.xml"  
141 -  
142 - file "/oname=$PROGRAMFILES64\ooRexx\rx3270.cls" "src\plugins\rx3270\rx3270.cls"  
143 - file "/oname=$INSTDIR\rx3270.dll.@PACKAGE_VERSION@" ".bin\Release\rx3270.dll.@PACKAGE_VERSION@"  
144 - file "/oname=$PROGRAMFILES64\ooRexx\rx3270.dll" ".bin\Release\rx3270.dll"  
145 -  
146 - sectionEnd  
147 -  
148 - SubSectionEnd  
149 -  
150 - SubSection "Menus, Keypads & Toolbars" SecMenu  
151 -  
152 - Section /o "View trace Menu" TraceMenu  
153 - file "/oname=$INSTDIR\ui\98trace.xml" "ui\98trace.xml"  
154 - sectionEnd  
155 -  
156 - Section /o "Application debug" DBGMenu  
157 - file "/oname=$INSTDIR\ui\99debug.xml" "ui\99debug.xml"  
158 - sectionEnd  
159 -  
160 - SubSectionEnd  
161 -  
162 -SubSectionEnd  
163 -  
164 -Section "GTK @GTK_MODVERSION@ Runtime" SecGTK  
165 -  
166 - setOutPath $INSTDIR  
167 - file /r ".bin\gtkruntime\*.*"  
168 -  
169 -SectionEnd  
170 -  
171 -Section /o "Software Development Kit" SecSDK  
172 -  
173 - CreateDirectory "$INSTDIR\sdk"  
174 - CreateDirectory "$INSTDIR\sdk\include"  
175 - CreateDirectory "$INSTDIR\sdk\include\lib3270"  
176 - CreateDirectory "$INSTDIR\sdk\include\pw3270"  
177 - CreateDirectory "$INSTDIR\sdk\sample"  
178 - CreateDirectory "$INSTDIR\sdk\sample\classlib"  
179 -  
180 - setOutPath $INSTDIR\sdk\include  
181 - file "src\include\lib3270.h"  
182 - file "src\include\pw3270.h"  
183 -  
184 - setOutPath $INSTDIR\sdk\include\pw3270  
185 - file "src\include\pw3270\class.h"  
186 - file "src\include\pw3270\hllapi.h"  
187 - file "src\include\pw3270\ipcpackets.h"  
188 - file "src\include\pw3270\plugin.h"  
189 - file "src\include\pw3270\trace.h"  
190 - file "src\include\pw3270\v3270.h"  
191 -  
192 - setOutPath $INSTDIR\sdk\include\lib3270  
193 - file "src\include\lib3270\config.h"  
194 - file "src\include\rules.mak"  
195 -  
196 - setOutPath $INSTDIR\sdk\sample\connect  
197 - file "src\sample\Makefile"  
198 - file "src\sample\connect.c"  
199 -  
200 - setOutPath $INSTDIR\sdk\sample\classlib  
201 - file "src\classlib\*.cc"  
202 - file "src\include\pw3270\class.h"  
203 -  
204 -SectionEnd  
205 -  
206 -# create a section to define what the uninstaller does.  
207 -# the section will always be named "Uninstall"  
208 -section "Uninstall"  
209 -  
210 - # Always delete uninstaller first  
211 - delete $INSTDIR\uninstaller.exe  
212 -  
213 - # Set SMPROGRAMS and DESKTOP path  
214 - SetShellVarContext all  
215 -  
216 - # now delete installed files  
217 - delete $INSTDIR\@PACKAGE@.exe  
218 -  
219 - delete $SMPROGRAMS\@PACKAGE@.lnk  
220 - delete $DESKTOP\@PACKAGE@.lnk  
221 -  
222 - RMDir /r "$INSTDIR\locale"  
223 - RMDir /r "$INSTDIR\share"  
224 - RMDir /r "$INSTDIR\etc"  
225 - RMDir /r "$INSTDIR\plugins"  
226 - RMDir /r "$INSTDIR\sdk"  
227 -  
228 - # Delete all files  
229 - delete "$INSTDIR\*.dll"  
230 -  
231 - # Remove registry  
232 - SetRegView 64  
233 - DeleteRegKey HKLM "Software\@PACKAGE@"  
234 -  
235 - SetRegView 32  
236 - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@"  
237 - DeleteRegKey HKLM "Software\@PACKAGE@"  
238 -  
239 - # Delete System libraries  
240 - delete $SYSDIR\libhllapi.dll  
241 -  
242 - # Delete extension libraries  
243 - delete "$PROGRAMFILES64\ooRexx\rx3270.cls"  
244 - delete "$PROGRAMFILES64\ooRexx\rx3270.dll"  
245 -  
246 - RMDir /r "$INSTDIR"  
247 -  
248 -sectionEnd  
249 -  
250 -Function .onInit  
251 -  
252 -SetRegView 64  
253 -  
254 -${if} ${FileExists} `$PROGRAMFILES64\ooRexx\rexx.exe`  
255 -  
256 - SectionGetFlags "${RexxPlugin}" $0  
257 - IntOp $0 $0 | ${SF_SELECTED}  
258 - SectionSetFlags "${RexxPlugin}" $0  
259 -  
260 -${EndIf}  
261 -  
262 -ReadRegStr $4 HKLM "Software\gtkwin\@GTK_MODVERSION@" "path"  
263 -  
264 -${if} $4 == ""  
265 -  
266 - SectionGetFlags "${SecGTK}" $0  
267 - IntOp $0 $0 | ${SF_SELECTED}  
268 - SectionSetFlags "${SecGTK}" $0  
269 -  
270 -${Else}  
271 -  
272 - ${if} ${FileExists} `$4\*.*`  
273 -  
274 - SectionGetFlags "${SecGTK}" $0  
275 - IntOp $0 $0 & ${SECTION_OFF}  
276 - SectionSetFlags "${SecGTK}" $0  
277 -  
278 - ${Else}  
279 -  
280 - SectionGetFlags "${SecGTK}" $0  
281 - IntOp $0 $0 | ${SF_SELECTED}  
282 - SectionSetFlags "${SecGTK}" $0  
283 -  
284 - ${EndIf}  
285 -  
286 -${EndIf}  
287 -  
288 -FunctionEnd  
289 -  
290 -