fix 56ba1d74d

This commit is contained in:
Juergen E. Fischer 2013-09-15 13:54:24 +02:00
parent 788407accd
commit b49df73e18

View File

@ -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"