Commit 859794d8cd8b609e446abdb44180c5cbb223f2bb

Authored by perry.werneck@gmail.com
1 parent 878a939d

Atualizando pacote windows

Showing 1 changed file with 10 additions and 9 deletions   Show diff stats
pw3270.nsi.in
... ... @@ -14,16 +14,16 @@ installDir $PROGRAMFILES\@PACKAGE@
14 14 icon "src\pw3270\@PACKAGE@.ico"
15 15  
16 16 # Get installation folder from registry if available
17   -InstallDirRegKey HKCU "Software\@PACKAGE@" "datadir"
  17 +InstallDirRegKey HKLM "Software\@PACKAGE@" "datadir"
18 18  
19 19 RequestExecutionLevel admin
20 20  
21 21 # Properties
22   -VIProductVersion "@PACKAGE_VERSION@.@PACKAGE_LEVEL@.0"
  22 +VIProductVersion "@PACKAGE_VERSION@.@PACKAGE_LEVEL@.@PACKAGE_REVISION@"
23 23 VIAddVersionKey "ProductName" "@PACKAGE@"
24 24 VIAddVersionKey "FileDescription" "3270 Emulator for windows/gtk"
25 25 VIAddVersionKey "FileVersion" "@PACKAGE_REVISION@"
26   -VIAddVersionKey "LegalCopyright" "GPL"
  26 +VIAddVersionKey "LegalCopyright" "GPL-2.0"
27 27  
28 28 # Interface
29 29  
... ... @@ -62,8 +62,9 @@ SubSection "@PACKAGE@" SecMain
62 62 file "/oname=$INSTDIR\@PACKAGE@.ico" "src\pw3270\@PACKAGE@.ico"
63 63  
64 64 # Configuration files
65   - file "/oname=$INSTDIR\@PACKAGE@.png" "src/pw3270/@PACKAGE@.png"
66   - file "/oname=$INSTDIR\colors.conf" "colors.conf"
  65 + file "/oname=$INSTDIR\@PACKAGE@-logo.png" "@PACKAGE@-logo.png"
  66 + file "/oname=$INSTDIR\@PACKAGE@.png" "@PACKAGE@.png"
  67 + file "/oname=$INSTDIR\colors.conf" "colors.conf"
67 68  
68 69 # Documentation files
69 70 file "/oname=$INSTDIR\ChangeLog" "ChangeLog"
... ... @@ -103,8 +104,8 @@ SubSection "@PACKAGE@" SecMain
103 104 WriteRegStr HKCU "Software\@PACKAGE@" "" $INSTDIR
104 105  
105 106 # Main library
106   - file "/oname=$SYSDIR\lib3270.dll" ".bin\Release\lib3270.dll"
107   - file "/oname=$SYSDIR\libpw3270.dll" ".bin\Release\libpw3270.dll"
  107 + file "/oname=$SYSDIR\lib3270.dll.@PACKAGE_VERSION@" ".bin\Release\lib3270.dll.@PACKAGE_VERSION@"
  108 + file "/oname=$SYSDIR\libpw3270.dll.@PACKAGE_VERSION@" ".bin\Release\libpw3270.dll.@PACKAGE_VERSION@"
108 109  
109 110 sectionEnd
110 111  
... ... @@ -179,8 +180,8 @@ section "Uninstall"
179 180 DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@PACKAGE@"
180 181  
181 182 # Delete System libraries
182   - delete $SYSDIR\lib3270.dll
183   - delete $SYSDIR\libpw3270.dll
  183 + delete $SYSDIR\lib3270.dll.@PACKAGE_VERSION@
  184 + delete $SYSDIR\libpw3270.dll.@PACKAGE_VERSION@
184 185  
185 186 # Delete extension libraries
186 187 # delete $PROGRAMFILES\ooRexx\rx3270.dll
... ...