1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Improved packaging scripts

This commit is contained in:
Martin Tůma 2016-05-05 22:28:53 +02:00
parent 6f73740da6
commit dcdd250858
2 changed files with 8 additions and 4 deletions

View File

@ -3,9 +3,11 @@
; The name of the installer
Name "GPXSee"
; Program version
!define VERSION "2.13"
; The file to write
OutFile "install.exe"
OutFile "GPXSee-${VERSION}.exe"
; Required execution level
RequestExecutionLevel admin
@ -67,7 +69,7 @@ Section "GPXSee (required)" SEC_APP
; Write the uninstall keys for Windows
WriteRegStr HKLM "${REGENTRY}" "DisplayName" "GPXSee"
WriteRegStr HKLM "${REGENTRY}" "Publisher" "Martin Tuma"
WriteRegStr HKLM "${REGENTRY}" "DisplayVersion" "2.13"
WriteRegStr HKLM "${REGENTRY}" "DisplayVersion" "${VERSION}"
WriteRegStr HKLM "${REGENTRY}" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteRegDWORD HKLM "${REGENTRY}" "NoModify" 1
WriteRegDWORD HKLM "${REGENTRY}" "NoRepair" 1

View File

@ -3,9 +3,11 @@
; The name of the installer
Name "GPXSee"
; Program version
!define VERSION "2.13"
; The file to write
OutFile "install.exe"
OutFile "GPXSee-${VERSION}_x64.exe"
; Required execution level
RequestExecutionLevel admin
@ -75,7 +77,7 @@ Section "GPXSee (required)" SEC_APP
; Write the uninstall keys for Windows
WriteRegStr HKLM "${REGENTRY}" "DisplayName" "GPXSee"
WriteRegStr HKLM "${REGENTRY}" "Publisher" "Martin Tuma"
WriteRegStr HKLM "${REGENTRY}" "DisplayVersion" "2.13"
WriteRegStr HKLM "${REGENTRY}" "DisplayVersion" "${VERSION}"
WriteRegStr HKLM "${REGENTRY}" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteRegDWORD HKLM "${REGENTRY}" "NoModify" 1
WriteRegDWORD HKLM "${REGENTRY}" "NoRepair" 1