2015-10-06 01:56:19 +02:00
|
|
|
!include "MUI2.nsh"
|
2016-02-13 11:09:51 +01:00
|
|
|
!include "x64.nsh"
|
2017-02-12 17:34:13 +01:00
|
|
|
!include "WinVer.nsh"
|
2015-10-06 01:56:19 +02:00
|
|
|
|
|
|
|
; The name of the installer
|
|
|
|
Name "GPXSee"
|
2016-05-05 22:28:53 +02:00
|
|
|
; Program version
|
2018-07-21 18:20:48 +02:00
|
|
|
!define VERSION "5.16"
|
2015-10-06 01:56:19 +02:00
|
|
|
|
|
|
|
; The file to write
|
2016-05-05 22:28:53 +02:00
|
|
|
OutFile "GPXSee-${VERSION}.exe"
|
2017-06-18 13:23:00 +02:00
|
|
|
; Compression method
|
|
|
|
SetCompressor /SOLID lzma
|
2015-10-06 01:56:19 +02:00
|
|
|
|
2018-04-14 14:04:19 +02:00
|
|
|
; Required execution level
|
2016-02-13 11:09:51 +01:00
|
|
|
RequestExecutionLevel admin
|
2015-10-06 01:56:19 +02:00
|
|
|
|
|
|
|
; The default installation directory
|
2016-02-13 11:09:51 +01:00
|
|
|
InstallDir "$PROGRAMFILES\GPXSee"
|
2015-10-06 01:56:19 +02:00
|
|
|
|
2017-02-16 18:59:37 +01:00
|
|
|
; Installer executable info
|
|
|
|
VIProductVersion "${VERSION}.0.0"
|
|
|
|
VIAddVersionKey "ProductVersion" ${VERSION}
|
|
|
|
VIAddVersionKey "FileVersion" "${VERSION}.0.0"
|
|
|
|
VIAddVersionKey "ProductName" "GPXSee"
|
|
|
|
VIAddVersionKey "LegalCopyright" "GPXSee project"
|
|
|
|
VIAddVersionKey "FileDescription" "GPXSee installer"
|
|
|
|
|
2018-04-14 14:04:19 +02:00
|
|
|
; Registry key to check for directory (so if you install again, it will
|
2015-10-06 01:56:19 +02:00
|
|
|
; overwrite the old one automatically)
|
2016-02-13 11:09:51 +01:00
|
|
|
InstallDirRegKey HKLM "Software\GPXSee" "Install_Dir"
|
2015-10-06 01:56:19 +02:00
|
|
|
|
|
|
|
; Registry key for uninstaller
|
2016-05-03 10:18:51 +02:00
|
|
|
!define REGENTRY "Software\Microsoft\Windows\CurrentVersion\Uninstall\GPXSee"
|
2016-11-02 19:39:32 +01:00
|
|
|
; File types registry entries
|
2016-05-03 10:18:51 +02:00
|
|
|
!define REGGPX "GPXSee.gpx"
|
2016-11-02 19:39:32 +01:00
|
|
|
!define REGTCX "GPXSee.tcx"
|
|
|
|
!define REGKML "GPXSee.kml"
|
|
|
|
!define REGFIT "GPXSee.fit"
|
2016-11-11 19:54:53 +01:00
|
|
|
!define REGIGC "GPXSee.igc"
|
2016-11-18 08:03:04 +01:00
|
|
|
!define REGNMEA "GPXSee.nmea"
|
2018-04-14 14:04:19 +02:00
|
|
|
!define REGPLT "GPXSee.plt"
|
|
|
|
!define REGRTE "GPXSee.rte"
|
|
|
|
!define REGWPT "GPXSee.wpt"
|
2018-08-09 22:48:44 +02:00
|
|
|
!define REGLOC "GPXSee.loc"
|
2015-10-06 01:56:19 +02:00
|
|
|
|
|
|
|
; Start menu page configuration
|
2018-04-14 14:04:19 +02:00
|
|
|
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKLM"
|
|
|
|
!define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\GPXSee"
|
|
|
|
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "GPXSee"
|
2015-10-06 01:56:19 +02:00
|
|
|
|
|
|
|
Var StartMenuFolder
|
|
|
|
|
|
|
|
;--------------------------------
|
|
|
|
|
|
|
|
; Pages
|
|
|
|
|
|
|
|
!insertmacro MUI_PAGE_WELCOME
|
|
|
|
!insertmacro MUI_PAGE_LICENSE "licence.txt"
|
|
|
|
!insertmacro MUI_PAGE_COMPONENTS
|
|
|
|
!insertmacro MUI_PAGE_DIRECTORY
|
|
|
|
!insertmacro MUI_PAGE_STARTMENU Application $StartMenuFolder
|
|
|
|
!insertmacro MUI_PAGE_INSTFILES
|
|
|
|
|
|
|
|
!insertmacro MUI_UNPAGE_CONFIRM
|
|
|
|
!insertmacro MUI_UNPAGE_INSTFILES
|
|
|
|
|
|
|
|
;--------------------------------
|
|
|
|
|
|
|
|
; Languages
|
|
|
|
!insertmacro MUI_LANGUAGE "English"
|
|
|
|
|
2017-02-12 17:34:13 +01:00
|
|
|
Function .onInit
|
|
|
|
${IfNot} ${AtLeastWin7}
|
|
|
|
MessageBox MB_OK "GPXSee can only be installed on Windows 7 or later."
|
|
|
|
Abort
|
|
|
|
${EndIf}
|
|
|
|
FunctionEnd
|
2015-10-06 01:56:19 +02:00
|
|
|
|
|
|
|
; The stuff to install
|
2017-02-12 17:34:13 +01:00
|
|
|
Section "GPXSee" SEC_APP
|
2015-10-06 01:56:19 +02:00
|
|
|
|
|
|
|
SectionIn RO
|
2018-04-14 14:04:19 +02:00
|
|
|
|
|
|
|
; Set output path to the installation directory
|
2015-10-06 01:56:19 +02:00
|
|
|
SetOutPath $INSTDIR
|
2018-04-14 14:04:19 +02:00
|
|
|
|
2016-03-24 19:34:46 +01:00
|
|
|
; Put the files there
|
2015-10-06 01:56:19 +02:00
|
|
|
File "gpxsee.exe"
|
2018-01-29 00:19:57 +01:00
|
|
|
File /r "maps"
|
2018-02-10 09:29:10 +01:00
|
|
|
File /r "csv"
|
2016-11-02 19:39:32 +01:00
|
|
|
|
|
|
|
; Create start menu entry and add links
|
|
|
|
SetShellVarContext all
|
2018-04-14 14:04:19 +02:00
|
|
|
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
2016-11-02 19:39:32 +01:00
|
|
|
CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
|
|
|
|
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
|
|
|
|
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\GPXSee.lnk" "$INSTDIR\gpxsee.exe"
|
|
|
|
!insertmacro MUI_STARTMENU_WRITE_END
|
|
|
|
|
|
|
|
; Create the uninstaller
|
2018-04-14 14:04:19 +02:00
|
|
|
WriteUninstaller "$INSTDIR\uninstall.exe"
|
2016-11-02 19:39:32 +01:00
|
|
|
|
2015-10-06 01:56:19 +02:00
|
|
|
; Write the installation path into the registry
|
2016-11-02 19:39:32 +01:00
|
|
|
DetailPrint "Registering application..."
|
2016-02-13 11:09:51 +01:00
|
|
|
WriteRegStr HKLM SOFTWARE\GPXSee "Install_Dir" "$INSTDIR"
|
2016-11-02 19:39:32 +01:00
|
|
|
|
2015-10-06 01:56:19 +02:00
|
|
|
; Write the uninstall keys for Windows
|
2016-02-13 11:09:51 +01:00
|
|
|
WriteRegStr HKLM "${REGENTRY}" "DisplayName" "GPXSee"
|
|
|
|
WriteRegStr HKLM "${REGENTRY}" "Publisher" "Martin Tuma"
|
2016-05-05 22:28:53 +02:00
|
|
|
WriteRegStr HKLM "${REGENTRY}" "DisplayVersion" "${VERSION}"
|
2016-02-13 11:09:51 +01:00
|
|
|
WriteRegStr HKLM "${REGENTRY}" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
|
|
|
WriteRegDWORD HKLM "${REGENTRY}" "NoModify" 1
|
|
|
|
WriteRegDWORD HKLM "${REGENTRY}" "NoRepair" 1
|
2015-10-06 01:56:19 +02:00
|
|
|
|
2016-11-02 19:39:32 +01:00
|
|
|
; Associate file formats
|
|
|
|
DetailPrint "Associating file types..."
|
2016-05-03 10:18:51 +02:00
|
|
|
WriteRegStr HKCR ".gpx" "" "${REGGPX}"
|
|
|
|
WriteRegStr HKCR "${REGGPX}" "" "GPS Exchange Format"
|
2018-08-10 00:14:31 +02:00
|
|
|
WriteRegStr HKCR "${REGGPX}\DefaultIcon" "" "$INSTDIR\GPXSee.exe,3"
|
2016-05-03 10:18:51 +02:00
|
|
|
WriteRegStr HKCR "${REGGPX}\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
|
2016-11-02 19:39:32 +01:00
|
|
|
WriteRegStr HKCR ".tcx" "" "${REGTCX}"
|
|
|
|
WriteRegStr HKCR "${REGTCX}" "" "Training Center XML"
|
2018-08-10 00:14:31 +02:00
|
|
|
WriteRegStr HKCR "${REGTCX}\DefaultIcon" "" "$INSTDIR\GPXSee.exe,4"
|
2016-11-02 19:39:32 +01:00
|
|
|
WriteRegStr HKCR "${REGTCX}\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
|
|
|
|
WriteRegStr HKCR ".kml" "" "${REGKML}"
|
|
|
|
WriteRegStr HKCR "${REGKML}" "" "Keyhole Markup Language"
|
2018-08-10 00:14:31 +02:00
|
|
|
WriteRegStr HKCR "${REGKML}\DefaultIcon" "" "$INSTDIR\GPXSee.exe,5"
|
2016-11-02 19:39:32 +01:00
|
|
|
WriteRegStr HKCR "${REGKML}\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
|
|
|
|
WriteRegStr HKCR ".fit" "" "${REGFIT}"
|
|
|
|
WriteRegStr HKCR "${REGFIT}" "" "Flexible and Interoperable Data Transfer"
|
2018-08-10 00:14:31 +02:00
|
|
|
WriteRegStr HKCR "${REGFIT}\DefaultIcon" "" "$INSTDIR\GPXSee.exe,6"
|
2016-11-02 19:39:32 +01:00
|
|
|
WriteRegStr HKCR "${REGFIT}\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
|
2016-11-11 19:54:53 +01:00
|
|
|
WriteRegStr HKCR ".igc" "" "${REGIGC}"
|
|
|
|
WriteRegStr HKCR "${REGIGC}" "" "Flight Recorder Data Format"
|
2018-08-10 00:14:31 +02:00
|
|
|
WriteRegStr HKCR "${REGIGC}\DefaultIcon" "" "$INSTDIR\GPXSee.exe,7"
|
2016-11-11 19:54:53 +01:00
|
|
|
WriteRegStr HKCR "${REGIGC}\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
|
2016-11-18 08:03:04 +01:00
|
|
|
WriteRegStr HKCR ".nmea" "" "${REGNMEA}"
|
|
|
|
WriteRegStr HKCR "${REGNMEA}" "" "NMEA 0183 data"
|
2018-08-10 00:14:31 +02:00
|
|
|
WriteRegStr HKCR "${REGNMEA}\DefaultIcon" "" "$INSTDIR\GPXSee.exe,8"
|
2016-11-18 08:03:04 +01:00
|
|
|
WriteRegStr HKCR "${REGNMEA}\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
|
2018-04-14 14:04:19 +02:00
|
|
|
WriteRegStr HKCR ".plt" "" "${REGPLT}"
|
|
|
|
WriteRegStr HKCR "${REGPLT}" "" "OziExplorer Track Point File"
|
2018-08-10 00:14:31 +02:00
|
|
|
WriteRegStr HKCR "${REGPLT}\DefaultIcon" "" "$INSTDIR\GPXSee.exe,9"
|
2018-04-14 14:04:19 +02:00
|
|
|
WriteRegStr HKCR "${REGPLT}\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
|
|
|
|
WriteRegStr HKCR ".rte" "" "${REGRTE}"
|
|
|
|
WriteRegStr HKCR "${REGRTE}" "" "OziExplorer Route File"
|
2018-08-10 00:14:31 +02:00
|
|
|
WriteRegStr HKCR "${REGRTE}\DefaultIcon" "" "$INSTDIR\GPXSee.exe,10"
|
2018-04-14 14:04:19 +02:00
|
|
|
WriteRegStr HKCR "${REGRTE}\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
|
|
|
|
WriteRegStr HKCR ".wpt" "" "${REGWPT}"
|
|
|
|
WriteRegStr HKCR "${REGWPT}" "" "OziExplorer Waypoint File"
|
2018-04-14 15:10:27 +02:00
|
|
|
WriteRegStr HKCR "${REGWPT}\DefaultIcon" "" "$INSTDIR\GPXSee.exe,1"
|
2018-04-14 14:04:19 +02:00
|
|
|
WriteRegStr HKCR "${REGWPT}\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
|
2018-08-09 22:48:44 +02:00
|
|
|
WriteRegStr HKCR ".loc" "" "${REGLOC}"
|
|
|
|
WriteRegStr HKCR "${REGLOC}" "" "Geocaching.com Waypoint File"
|
2018-08-10 00:14:31 +02:00
|
|
|
WriteRegStr HKCR "${REGLOC}\DefaultIcon" "" "$INSTDIR\GPXSee.exe,2"
|
2018-08-09 22:48:44 +02:00
|
|
|
WriteRegStr HKCR "${REGLOC}\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
|
2016-11-18 08:03:04 +01:00
|
|
|
|
2016-05-03 10:18:51 +02:00
|
|
|
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'
|
|
|
|
|
2015-10-06 01:56:19 +02:00
|
|
|
SectionEnd
|
|
|
|
|
2017-02-12 17:34:13 +01:00
|
|
|
Section "QT framework" SEC_QT
|
|
|
|
|
|
|
|
SectionIn RO
|
2015-10-06 01:56:19 +02:00
|
|
|
|
|
|
|
File "Qt5Core.dll"
|
|
|
|
File "Qt5Gui.dll"
|
|
|
|
File "Qt5Widgets.dll"
|
|
|
|
File "Qt5PrintSupport.dll"
|
2015-11-25 23:18:07 +01:00
|
|
|
File "Qt5Network.dll"
|
2015-10-06 01:56:19 +02:00
|
|
|
File /r "platforms"
|
2015-12-03 20:06:50 +01:00
|
|
|
File /r "imageformats"
|
2016-05-29 19:35:38 +02:00
|
|
|
File /r "printsupport"
|
2018-08-05 23:23:53 +02:00
|
|
|
File /r "styles"
|
2018-04-14 14:04:19 +02:00
|
|
|
|
2015-10-06 01:56:19 +02:00
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
Section "MSVC runtime" SEC_MSVC
|
|
|
|
|
2017-02-12 17:34:13 +01:00
|
|
|
SectionIn RO
|
|
|
|
|
2016-02-13 11:09:51 +01:00
|
|
|
DetailPrint "Checking whether Visual C++ 2015 Redistributable is already installed..."
|
|
|
|
${If} ${RunningX64}
|
|
|
|
ReadRegDword $R0 HKLM "SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x86" "Installed"
|
|
|
|
${Else}
|
|
|
|
ReadRegDword $R0 HKLM "SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x86" "Installed"
|
|
|
|
${EndIf}
|
2015-10-06 01:56:19 +02:00
|
|
|
|
2016-02-13 11:09:51 +01:00
|
|
|
StrCmp $R0 "1" 0 +3
|
|
|
|
DetailPrint "Visual C++ 2015 Redistributable is already installed, skipping install."
|
|
|
|
Goto done
|
|
|
|
|
|
|
|
DetailPrint "Installing Visual C++ 2015 Redistributable..."
|
|
|
|
SetOutPath $TEMP
|
2017-06-18 12:23:54 +02:00
|
|
|
File "vcredist_x86.exe"
|
2017-06-19 22:48:48 +02:00
|
|
|
ExecWait '"$TEMP\vcredist_x86.exe" /install /quiet /norestart'
|
2017-02-13 20:13:13 +01:00
|
|
|
SetOutPath $INSTDIR
|
2016-02-13 11:09:51 +01:00
|
|
|
|
|
|
|
done:
|
2015-10-06 01:56:19 +02:00
|
|
|
SectionEnd
|
|
|
|
|
2017-02-12 17:34:13 +01:00
|
|
|
Section "OpenSSL" SEC_OPENSSL
|
|
|
|
|
|
|
|
File "libeay32.dll"
|
|
|
|
File "ssleay32.dll"
|
|
|
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
Section "ANGLE" SEC_ANGLE
|
|
|
|
|
|
|
|
File "libGLESv2.dll"
|
|
|
|
File "libEGL.dll"
|
|
|
|
File "D3DCompiler_47.dll"
|
|
|
|
|
|
|
|
SectionEnd
|
|
|
|
|
2018-02-09 21:04:37 +01:00
|
|
|
SectionGroup "Localization" SEC_LOCALIZATION
|
2018-02-08 18:16:44 +01:00
|
|
|
Section "Czech"
|
2018-02-09 21:04:37 +01:00
|
|
|
CreateDirectory "$INSTDIR\translations"
|
|
|
|
File /oname=translations\gpxsee_cs.qm translations\gpxsee_cs.qm
|
|
|
|
File /oname=translations\qt_cs.qm translations\qt_cs.qm
|
2018-02-08 18:16:44 +01:00
|
|
|
SectionEnd
|
2018-02-08 20:24:39 +01:00
|
|
|
Section "Finnish"
|
2018-02-09 21:04:37 +01:00
|
|
|
CreateDirectory "$INSTDIR\translations"
|
|
|
|
File /oname=translations\gpxsee_fi.qm translations\gpxsee_fi.qm
|
|
|
|
File /oname=translations\qt_fi.qm translations\qt_fi.qm
|
2018-02-08 18:16:44 +01:00
|
|
|
SectionEnd
|
2018-02-08 20:22:35 +01:00
|
|
|
Section "French"
|
2018-02-09 21:04:37 +01:00
|
|
|
CreateDirectory "$INSTDIR\translations"
|
|
|
|
File /oname=translations\gpxsee_fr.qm translations\gpxsee_fr.qm
|
|
|
|
File /oname=translations\qt_fr.qm translations\qt_fr.qm
|
2018-02-08 20:22:35 +01:00
|
|
|
SectionEnd
|
|
|
|
Section "German"
|
2018-02-09 21:04:37 +01:00
|
|
|
CreateDirectory "$INSTDIR\translations"
|
|
|
|
File /oname=translations\gpxsee_de.qm translations\gpxsee_de.qm
|
|
|
|
File /oname=translations\qt_de.qm translations\qt_de.qm
|
2018-02-08 20:22:35 +01:00
|
|
|
SectionEnd
|
2018-04-17 22:52:47 +02:00
|
|
|
Section "Polish"
|
|
|
|
CreateDirectory "$INSTDIR\translations"
|
|
|
|
File /oname=translations\gpxsee_pl.qm translations\gpxsee_pl.qm
|
|
|
|
File /oname=translations\qt_pl.qm translations\qt_pl.qm
|
|
|
|
SectionEnd
|
2018-02-08 18:16:44 +01:00
|
|
|
Section "Russian"
|
2018-02-09 21:04:37 +01:00
|
|
|
CreateDirectory "$INSTDIR\translations"
|
|
|
|
File /oname=translations\gpxsee_ru.qm translations\gpxsee_ru.qm
|
|
|
|
File /oname=translations\qt_ru.qm translations\qt_ru.qm
|
2018-02-08 18:16:44 +01:00
|
|
|
SectionEnd
|
|
|
|
Section "Swedish"
|
2018-02-09 21:04:37 +01:00
|
|
|
CreateDirectory "$INSTDIR\translations"
|
|
|
|
File /oname=translations\gpxsee_sv.qm translations\gpxsee_sv.qm
|
2018-02-08 18:16:44 +01:00
|
|
|
SectionEnd
|
|
|
|
SectionGroupEnd
|
|
|
|
|
2015-10-06 01:56:19 +02:00
|
|
|
;--------------------------------
|
|
|
|
|
|
|
|
; Uninstaller
|
|
|
|
|
|
|
|
Section "Uninstall"
|
2018-04-14 14:04:19 +02:00
|
|
|
|
2015-10-06 01:56:19 +02:00
|
|
|
; Remove registry keys
|
2016-02-13 11:09:51 +01:00
|
|
|
DeleteRegKey HKLM "${REGENTRY}"
|
|
|
|
DeleteRegKey HKLM SOFTWARE\GPXSee
|
2015-10-06 01:56:19 +02:00
|
|
|
|
|
|
|
; Remove directories used
|
|
|
|
RMDir /r "$INSTDIR"
|
|
|
|
|
|
|
|
; Remove Start menu entries
|
2016-02-13 11:09:51 +01:00
|
|
|
SetShellVarContext all
|
2015-10-06 01:56:19 +02:00
|
|
|
!insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder
|
|
|
|
Delete "$SMPROGRAMS\$StartMenuFolder\*.*"
|
2016-05-03 10:18:51 +02:00
|
|
|
RMDir "$SMPROGRAMS\$StartMenuFolder"
|
|
|
|
|
|
|
|
; Remove GPX file association
|
|
|
|
DeleteRegKey HKCR "${REGGPX}"
|
|
|
|
DeleteRegKey HKCR ".gpx"
|
2016-11-02 19:39:32 +01:00
|
|
|
DeleteRegKey HKCR "${REGTCX}"
|
|
|
|
DeleteRegKey HKCR ".tcx"
|
|
|
|
DeleteRegKey HKCR "${REGKML}"
|
|
|
|
DeleteRegKey HKCR ".kml"
|
|
|
|
DeleteRegKey HKCR "${REGFIT}"
|
|
|
|
DeleteRegKey HKCR ".fit"
|
2016-11-11 19:54:53 +01:00
|
|
|
DeleteRegKey HKCR "${REGIGC}"
|
|
|
|
DeleteRegKey HKCR ".igc"
|
2016-11-18 08:03:04 +01:00
|
|
|
DeleteRegKey HKCR "${REGNMEA}"
|
|
|
|
DeleteRegKey HKCR ".nmea"
|
2018-04-14 14:04:19 +02:00
|
|
|
DeleteRegKey HKCR "${REGPLT}"
|
|
|
|
DeleteRegKey HKCR ".plt"
|
|
|
|
DeleteRegKey HKCR "${REGRTE}"
|
|
|
|
DeleteRegKey HKCR ".rte"
|
|
|
|
DeleteRegKey HKCR "${REGWPT}"
|
|
|
|
DeleteRegKey HKCR ".wpt"
|
2018-08-09 22:48:44 +02:00
|
|
|
DeleteRegKey HKCR "${REGLOC}"
|
|
|
|
DeleteRegKey HKCR ".loc"
|
2018-04-14 14:04:19 +02:00
|
|
|
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'
|
2015-10-06 01:56:19 +02:00
|
|
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
;-------------------------------
|
|
|
|
|
|
|
|
;Descriptions
|
|
|
|
|
|
|
|
;Language strings
|
|
|
|
LangString DESC_QT ${LANG_ENGLISH} \
|
2017-02-12 17:34:13 +01:00
|
|
|
"QT cross-platform application framework."
|
2015-10-06 01:56:19 +02:00
|
|
|
LangString DESC_MSVC ${LANG_ENGLISH} \
|
2017-02-12 17:34:13 +01:00
|
|
|
"Visual C++ 2015 runtime components. If already installed, will be skipped."
|
|
|
|
LangString DESC_OPENSSL ${LANG_ENGLISH} \
|
|
|
|
"OpenSSL library. Required for HTTPS to work."
|
|
|
|
LangString DESC_ANGLE ${LANG_ENGLISH} \
|
|
|
|
"ANGLE (OpenGL via Direct3D). Enables OpenGL on systems without native OpenGL drivers."
|
2015-10-06 01:56:19 +02:00
|
|
|
LangString DESC_APP ${LANG_ENGLISH} \
|
|
|
|
"GPXSee application"
|
2018-02-09 21:04:37 +01:00
|
|
|
LangString DESC_LOCALIZATION ${LANG_ENGLISH} \
|
2018-02-08 18:16:44 +01:00
|
|
|
"Localization"
|
2015-10-06 01:56:19 +02:00
|
|
|
|
|
|
|
;Assign language strings to sections
|
|
|
|
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
|
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_QT} $(DESC_QT)
|
2017-02-12 17:34:13 +01:00
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_OPENSSL} $(DESC_OPENSSL)
|
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_ANGLE} $(DESC_ANGLE)
|
2015-10-06 01:56:19 +02:00
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_MSVC} $(DESC_MSVC)
|
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_APP} $(DESC_APP)
|
2018-02-09 21:04:37 +01:00
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_LOCALIZATION} $(DESC_LOCALIZATION)
|
2017-04-17 19:56:29 +02:00
|
|
|
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|