mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
fix 56ba1d74d
This commit is contained in:
parent
788407accd
commit
b49df73e18
@ -61,14 +61,6 @@ OutFile "${INSTALLER_NAME}"
|
||||
;Define installation folder
|
||||
InstallDir "$PROGRAMFILES\${QGIS_BASE}"
|
||||
|
||||
${If} ${RunningX64}
|
||||
DetailPrint "Installer running on 64-bit host"
|
||||
; disable registry redirection (enable access to 64-bit portion of registry)
|
||||
SetRegView 64
|
||||
; change install dir
|
||||
StrCpy $INSTDIR "$PROGRAMFILES64\${QGIS_BASE}"
|
||||
${EndIf}
|
||||
|
||||
;Tell the installer to show Install and Uninstall details as default
|
||||
ShowInstDetails show
|
||||
ShowUnInstDetails show
|
||||
@ -98,6 +90,13 @@ ShowUnInstDetails show
|
||||
; if the uninstall procedure succeeded, call the current installer asking for the install PATH
|
||||
|
||||
Function .onInit
|
||||
${If} ${RunningX64}
|
||||
DetailPrint "Installer running on 64-bit host"
|
||||
; disable registry redirection (enable access to 64-bit portion of registry)
|
||||
SetRegView 64
|
||||
; change install dir
|
||||
StrCpy $INSTDIR "$PROGRAMFILES64\${QGIS_BASE}"
|
||||
${EndIf}
|
||||
|
||||
Var /GLOBAL ASK_FOR_PATH
|
||||
StrCpy $ASK_FOR_PATH "YES"
|
||||
|
Loading…
x
Reference in New Issue
Block a user