Commit 7823717c017dce5c292bca440b557fef98909fd2
1 parent
e34bad9f
Exists in
master
and in
5 other branches
Implementando instalador para windows 64
Showing
3 changed files
with
8 additions
and
137 deletions
Show diff stats
po/pt_BR.po
| @@ -5,7 +5,7 @@ msgid "" | @@ -5,7 +5,7 @@ msgid "" | ||
| 5 | msgstr "" | 5 | msgstr "" |
| 6 | "Project-Id-Version: pw3270 5.0\n" | 6 | "Project-Id-Version: pw3270 5.0\n" |
| 7 | "Report-Msgid-Bugs-To: \n" | 7 | "Report-Msgid-Bugs-To: \n" |
| 8 | -"POT-Creation-Date: 2013-05-08 14:31-0300\n" | 8 | +"POT-Creation-Date: 2013-05-21 08:21-0300\n" |
| 9 | "PO-Revision-Date: 2013-05-08 14:30-0300\n" | 9 | "PO-Revision-Date: 2013-05-08 14:30-0300\n" |
| 10 | "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n" | 10 | "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n" |
| 11 | "Language-Team: Português <>\n" | 11 | "Language-Team: Português <>\n" |
pw3270-i686.nsi.in
| @@ -216,68 +216,13 @@ sectionEnd | @@ -216,68 +216,13 @@ sectionEnd | ||
| 216 | 216 | ||
| 217 | Function .onInit | 217 | Function .onInit |
| 218 | 218 | ||
| 219 | -FindProcDLL::FindProc "@PACKAGE@.exe" | ||
| 220 | -IntCmp $R0 1 0 notRunning | ||
| 221 | - | ||
| 222 | - MessageBox MB_OK|MB_ICONEXCLAMATION "@PACKAGE@ is running. Please close it first" /SD IDOK | ||
| 223 | - Abort | ||
| 224 | - | ||
| 225 | -notRunning: | ||
| 226 | - | ||
| 227 | -#IfFileExists $PROGRAMFILES\ooRexx\rexx.exe RexxOK RexxNOK | ||
| 228 | -# | ||
| 229 | -#RexxOK: | ||
| 230 | -# SectionGetFlags "${RexxPlugin}" $0 | ||
| 231 | -# IntOp $0 $0 | ${SF_SELECTED} | ||
| 232 | -# SectionSetFlags "${RexxPlugin}" $0 | ||
| 233 | -# | ||
| 234 | -# SectionGetFlags "${SecRexxLib}" $0 | ||
| 235 | -# IntOp $0 $0 | ${SF_SELECTED} | ||
| 236 | -# SectionSetFlags "${SecRexxLib}" $0 | ||
| 237 | -# | ||
| 238 | -#goto PastRexxCheck | ||
| 239 | -# | ||
| 240 | -#RexxNOK: | ||
| 241 | -# SectionGetFlags "${RexxPlugin}" $0 | ||
| 242 | -# IntOp $0 $0 | ${SF_RO} | ||
| 243 | -# SectionSetFlags "${RexxPlugin}" $0 | ||
| 244 | -# | ||
| 245 | -# SectionGetFlags "${SecRexxLib}" $0 | ||
| 246 | -# IntOp $0 $0 | ${SF_RO} | ||
| 247 | -# SectionSetFlags "${SecRexxLib}" $0 | ||
| 248 | -# | ||
| 249 | -#PastRexxCheck: | ||
| 250 | - | ||
| 251 | - ReadRegStr $4 HKLM "Software\GTK2-Runtime" "DllPath" | ||
| 252 | - | ||
| 253 | - # remove trailing back slash | ||
| 254 | - Push $4 | ||
| 255 | - Exch $EXEDIR | ||
| 256 | - Exch $EXEDIR | ||
| 257 | - Pop $4 | ||
| 258 | - | ||
| 259 | - # if Gtk runtime DLL path exists gtk runtime is already installed. | ||
| 260 | - IfFileExists $4 gtkOK gtkNOK | ||
| 261 | - | ||
| 262 | -gtkOK: | ||
| 263 | - | ||
| 264 | - SectionGetFlags "${SecGTK}" $0 | ||
| 265 | - IntOp $0 $0 & ${SECTION_OFF} | ||
| 266 | - SectionSetFlags "${SecGTK}" $0 | ||
| 267 | - | ||
| 268 | -goto PastGTKCheck | ||
| 269 | - | ||
| 270 | -gtkNOK: | ||
| 271 | - | ||
| 272 | - SectionGetFlags "${SecGTK}" $0 | ||
| 273 | - IntOp $0 $0 | ${SF_SELECTED} | ||
| 274 | - SectionSetFlags "${SecGTK}" $0 | ||
| 275 | - | ||
| 276 | -goto PastGTKCheck | ||
| 277 | - | ||
| 278 | - | ||
| 279 | - | ||
| 280 | -PastGTKCheck: | 219 | +;FindProcDLL::FindProc "@PACKAGE@.exe" |
| 220 | +;IntCmp $R0 1 0 notRunning | ||
| 221 | +; | ||
| 222 | +; MessageBox MB_OK|MB_ICONEXCLAMATION "@PACKAGE@ is running. Please close it first" /SD IDOK | ||
| 223 | +; Abort | ||
| 224 | +; | ||
| 225 | +;notRunning: | ||
| 281 | 226 | ||
| 282 | 227 | ||
| 283 | FunctionEnd | 228 | FunctionEnd |
pw3270-x86_64.nsi.in
| @@ -170,10 +170,6 @@ Section /o "Software Development Kit" SecSDK | @@ -170,10 +170,6 @@ Section /o "Software Development Kit" SecSDK | ||
| 170 | file "/oname=$INSTDIR\sdk\sample\Makefile" "src\sample\Makefile" | 170 | file "/oname=$INSTDIR\sdk\sample\Makefile" "src\sample\Makefile" |
| 171 | file "/oname=$INSTDIR\sdk\sample\connect.c" "src\sample\connect.c" | 171 | file "/oname=$INSTDIR\sdk\sample\connect.c" "src\sample\connect.c" |
| 172 | 172 | ||
| 173 | - file "/oname=$INSTDIR\sdk\lib3270.def" ".bin\Release\lib3270.dll.@PACKAGE_VERSION@.def" | ||
| 174 | - file "/oname=$INSTDIR\sdk\pw3270.def" ".bin\Release\pw3270.dll.@PACKAGE_VERSION@.def" | ||
| 175 | - file "/oname=$INSTDIR\sdk\libhllapi.def" ".bin\Release\libhllapi.dll.def" | ||
| 176 | - | ||
| 177 | SectionEnd | 173 | SectionEnd |
| 178 | 174 | ||
| 179 | # create a section to define what the uninstaller does. | 175 | # create a section to define what the uninstaller does. |
| @@ -217,76 +213,6 @@ sectionEnd | @@ -217,76 +213,6 @@ sectionEnd | ||
| 217 | 213 | ||
| 218 | Function .onInit | 214 | Function .onInit |
| 219 | 215 | ||
| 220 | -; define the directory to install to | ||
| 221 | -; http://bojan-komazec.blogspot.com.br/2011/10/nsis-installer-for-64-bit-windows.html | ||
| 222 | -;${If} ! ${RunningX64} | ||
| 223 | -; MessageBox MB_ERROR|MB_ICONEXCLAMATION "You can´t install a 64 bits application on a non 64 bits machine." /SD IDOK | ||
| 224 | -; Abort | ||
| 225 | -;${EndIf} | ||
| 226 | - | ||
| 227 | -;FindProcDLL::FindProc "@PACKAGE@.exe" | ||
| 228 | -;IntCmp $R0 1 0 notRunning | ||
| 229 | -; | ||
| 230 | -; MessageBox MB_OK|MB_ICONEXCLAMATION "@PACKAGE@ is running. Please close it first" /SD IDOK | ||
| 231 | -; Abort | ||
| 232 | -; | ||
| 233 | -;notRunning: | ||
| 234 | - | ||
| 235 | -#IfFileExists $PROGRAMFILES\ooRexx\rexx.exe RexxOK RexxNOK | ||
| 236 | -# | ||
| 237 | -#RexxOK: | ||
| 238 | -# SectionGetFlags "${RexxPlugin}" $0 | ||
| 239 | -# IntOp $0 $0 | ${SF_SELECTED} | ||
| 240 | -# SectionSetFlags "${RexxPlugin}" $0 | ||
| 241 | -# | ||
| 242 | -# SectionGetFlags "${SecRexxLib}" $0 | ||
| 243 | -# IntOp $0 $0 | ${SF_SELECTED} | ||
| 244 | -# SectionSetFlags "${SecRexxLib}" $0 | ||
| 245 | -# | ||
| 246 | -#goto PastRexxCheck | ||
| 247 | -# | ||
| 248 | -#RexxNOK: | ||
| 249 | -# SectionGetFlags "${RexxPlugin}" $0 | ||
| 250 | -# IntOp $0 $0 | ${SF_RO} | ||
| 251 | -# SectionSetFlags "${RexxPlugin}" $0 | ||
| 252 | -# | ||
| 253 | -# SectionGetFlags "${SecRexxLib}" $0 | ||
| 254 | -# IntOp $0 $0 | ${SF_RO} | ||
| 255 | -# SectionSetFlags "${SecRexxLib}" $0 | ||
| 256 | -# | ||
| 257 | -#PastRexxCheck: | ||
| 258 | - | ||
| 259 | - ReadRegStr $4 HKLM "Software\GTK2-Runtime" "DllPath" | ||
| 260 | - | ||
| 261 | - # remove trailing back slash | ||
| 262 | - Push $4 | ||
| 263 | - Exch $EXEDIR | ||
| 264 | - Exch $EXEDIR | ||
| 265 | - Pop $4 | ||
| 266 | - | ||
| 267 | - # if Gtk runtime DLL path exists gtk runtime is already installed. | ||
| 268 | - IfFileExists $4 gtkOK gtkNOK | ||
| 269 | - | ||
| 270 | -gtkOK: | ||
| 271 | - | ||
| 272 | - SectionGetFlags "${SecGTK}" $0 | ||
| 273 | - IntOp $0 $0 & ${SECTION_OFF} | ||
| 274 | - SectionSetFlags "${SecGTK}" $0 | ||
| 275 | - | ||
| 276 | -goto PastGTKCheck | ||
| 277 | - | ||
| 278 | -gtkNOK: | ||
| 279 | - | ||
| 280 | - SectionGetFlags "${SecGTK}" $0 | ||
| 281 | - IntOp $0 $0 | ${SF_SELECTED} | ||
| 282 | - SectionSetFlags "${SecGTK}" $0 | ||
| 283 | - | ||
| 284 | -goto PastGTKCheck | ||
| 285 | - | ||
| 286 | - | ||
| 287 | - | ||
| 288 | -PastGTKCheck: | ||
| 289 | - | ||
| 290 | 216 | ||
| 291 | FunctionEnd | 217 | FunctionEnd |
| 292 | 218 |