mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-31 09:05:14 +01:00
Extended "Apps and features" info (icon, webpage)
This commit is contained in:
parent
c6b1109d89
commit
0eceae1267
@ -86,6 +86,9 @@ Section "GPXSee" SEC_APP
|
|||||||
File /r "maps"
|
File /r "maps"
|
||||||
File /r "csv"
|
File /r "csv"
|
||||||
|
|
||||||
|
; Create the uninstaller
|
||||||
|
WriteUninstaller "$INSTDIR\uninstall.exe"
|
||||||
|
|
||||||
; Create start menu entry and add links
|
; Create start menu entry and add links
|
||||||
SetShellVarContext all
|
SetShellVarContext all
|
||||||
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
||||||
@ -94,9 +97,6 @@ Section "GPXSee" SEC_APP
|
|||||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\GPXSee.lnk" "$INSTDIR\gpxsee.exe"
|
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\GPXSee.lnk" "$INSTDIR\gpxsee.exe"
|
||||||
!insertmacro MUI_STARTMENU_WRITE_END
|
!insertmacro MUI_STARTMENU_WRITE_END
|
||||||
|
|
||||||
; Create the uninstaller
|
|
||||||
WriteUninstaller "$INSTDIR\uninstall.exe"
|
|
||||||
|
|
||||||
; Write the installation path into the registry
|
; Write the installation path into the registry
|
||||||
DetailPrint "Registering application..."
|
DetailPrint "Registering application..."
|
||||||
WriteRegStr HKLM SOFTWARE\GPXSee "Install_Dir" "$INSTDIR"
|
WriteRegStr HKLM SOFTWARE\GPXSee "Install_Dir" "$INSTDIR"
|
||||||
@ -106,6 +106,9 @@ Section "GPXSee" SEC_APP
|
|||||||
WriteRegStr HKLM "${REGENTRY}" "Publisher" "Martin Tůma"
|
WriteRegStr HKLM "${REGENTRY}" "Publisher" "Martin Tůma"
|
||||||
WriteRegStr HKLM "${REGENTRY}" "DisplayVersion" "${VERSION}"
|
WriteRegStr HKLM "${REGENTRY}" "DisplayVersion" "${VERSION}"
|
||||||
WriteRegStr HKLM "${REGENTRY}" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
WriteRegStr HKLM "${REGENTRY}" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
||||||
|
WriteRegStr HKLM "${REGENTRY}" "DisplayIcon" '"$INSTDIR\gpxsee.exe"'
|
||||||
|
WriteRegStr HKLM "${REGENTRY}" "InstallLocation" '"$INSTDIR"'
|
||||||
|
WriteRegStr HKLM "${REGENTRY}" "URLInfoAbout" "https://www.gpxsee.org"
|
||||||
WriteRegDWORD HKLM "${REGENTRY}" "NoModify" 1
|
WriteRegDWORD HKLM "${REGENTRY}" "NoModify" 1
|
||||||
WriteRegDWORD HKLM "${REGENTRY}" "NoRepair" 1
|
WriteRegDWORD HKLM "${REGENTRY}" "NoRepair" 1
|
||||||
|
|
||||||
@ -209,6 +212,8 @@ SectionEnd
|
|||||||
|
|
||||||
Section "OpenSSL" SEC_OPENSSL
|
Section "OpenSSL" SEC_OPENSSL
|
||||||
|
|
||||||
|
SectionIn RO
|
||||||
|
|
||||||
File "libcrypto-1_1.dll"
|
File "libcrypto-1_1.dll"
|
||||||
File "libssl-1_1.dll"
|
File "libssl-1_1.dll"
|
||||||
|
|
||||||
|
@ -93,6 +93,9 @@ Section "GPXSee" SEC_APP
|
|||||||
File /r "maps"
|
File /r "maps"
|
||||||
File /r "csv"
|
File /r "csv"
|
||||||
|
|
||||||
|
; Create the uninstaller
|
||||||
|
WriteUninstaller "$INSTDIR\uninstall.exe"
|
||||||
|
|
||||||
; Create start menu entry and add links
|
; Create start menu entry and add links
|
||||||
SetShellVarContext all
|
SetShellVarContext all
|
||||||
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
||||||
@ -101,9 +104,6 @@ Section "GPXSee" SEC_APP
|
|||||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\GPXSee.lnk" "$INSTDIR\gpxsee.exe"
|
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\GPXSee.lnk" "$INSTDIR\gpxsee.exe"
|
||||||
!insertmacro MUI_STARTMENU_WRITE_END
|
!insertmacro MUI_STARTMENU_WRITE_END
|
||||||
|
|
||||||
; Create the uninstaller
|
|
||||||
WriteUninstaller "$INSTDIR\uninstall.exe"
|
|
||||||
|
|
||||||
; Write the installation path into the registry
|
; Write the installation path into the registry
|
||||||
DetailPrint "Registering application..."
|
DetailPrint "Registering application..."
|
||||||
WriteRegStr HKLM SOFTWARE\GPXSee "Install_Dir" "$INSTDIR"
|
WriteRegStr HKLM SOFTWARE\GPXSee "Install_Dir" "$INSTDIR"
|
||||||
@ -113,6 +113,9 @@ Section "GPXSee" SEC_APP
|
|||||||
WriteRegStr HKLM "${REGENTRY}" "Publisher" "Martin Tůma"
|
WriteRegStr HKLM "${REGENTRY}" "Publisher" "Martin Tůma"
|
||||||
WriteRegStr HKLM "${REGENTRY}" "DisplayVersion" "${VERSION}"
|
WriteRegStr HKLM "${REGENTRY}" "DisplayVersion" "${VERSION}"
|
||||||
WriteRegStr HKLM "${REGENTRY}" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
WriteRegStr HKLM "${REGENTRY}" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
||||||
|
WriteRegStr HKLM "${REGENTRY}" "DisplayIcon" '"$INSTDIR\gpxsee.exe"'
|
||||||
|
WriteRegStr HKLM "${REGENTRY}" "InstallLocation" '"$INSTDIR"'
|
||||||
|
WriteRegStr HKLM "${REGENTRY}" "URLInfoAbout" "https://www.gpxsee.org"
|
||||||
WriteRegDWORD HKLM "${REGENTRY}" "NoModify" 1
|
WriteRegDWORD HKLM "${REGENTRY}" "NoModify" 1
|
||||||
WriteRegDWORD HKLM "${REGENTRY}" "NoRepair" 1
|
WriteRegDWORD HKLM "${REGENTRY}" "NoRepair" 1
|
||||||
|
|
||||||
@ -228,6 +231,8 @@ SectionEnd
|
|||||||
|
|
||||||
Section "OpenSSL" SEC_OPENSSL
|
Section "OpenSSL" SEC_OPENSSL
|
||||||
|
|
||||||
|
SectionIn RO
|
||||||
|
|
||||||
File "libcrypto-1_1-x64.dll"
|
File "libcrypto-1_1-x64.dll"
|
||||||
File "libssl-1_1-x64.dll"
|
File "libssl-1_1-x64.dll"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user