Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix 56ba1d7
  • Loading branch information
jef-n committed Sep 15, 2013
1 parent 788407a commit b49df73
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions ms-windows/QGIS-Installer.nsi
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit b49df73

Please sign in to comment.