File tree 1 file changed +7
-8
lines changed
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -61,14 +61,6 @@ OutFile "${INSTALLER_NAME}"
61
61
; Define installation folder
62
62
InstallDir " $PROGRAMFILES\${QGIS_BASE}"
63
63
64
- ${If} ${RunningX64}
65
- DetailPrint " Installer running on 64-bit host"
66
- ; disable registry redirection (enable access to 64-bit portion of registry)
67
- SetRegView 64
68
- ; change install dir
69
- StrCpy $INSTDIR " $PROGRAMFILES64\${QGIS_BASE}"
70
- ${EndIf}
71
-
72
64
; Tell the installer to show Install and Uninstall details as default
73
65
ShowInstDetails show
74
66
ShowUnInstDetails show
@@ -98,6 +90,13 @@ ShowUnInstDetails show
98
90
; if the uninstall procedure succeeded, call the current installer asking for the install PATH
99
91
100
92
Function .onInit
93
+ ${If} ${RunningX64}
94
+ DetailPrint " Installer running on 64-bit host"
95
+ ; disable registry redirection (enable access to 64-bit portion of registry)
96
+ SetRegView 64
97
+ ; change install dir
98
+ StrCpy $INSTDIR " $PROGRAMFILES64\${QGIS_BASE}"
99
+ ${EndIf}
101
100
102
101
Var /GLOBAL ASK_FOR_PATH
103
102
StrCpy $ASK_FOR_PATH " YES"
You can’t perform that action at this time.
0 commit comments