File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,6 @@ Name "${DISPLAYED_NAME}"
58
58
; Name of the output file (installer executable)
59
59
OutFile " ${INSTALLER_NAME}"
60
60
61
- ; Define installation folder
62
- InstallDir " $PROGRAMFILES\${QGIS_BASE}"
63
61
64
62
; Tell the installer to show Install and Uninstall details as default
65
63
ShowInstDetails show
@@ -102,6 +100,10 @@ Function .onInit
102
100
${EndIf}
103
101
${EndIf}
104
102
103
+ ${If} $INSTDIR == " "
104
+ StrCpy $INSTDIR " $PROGRAMFILES\${QGIS_BASE}"
105
+ ${EndIf}
106
+
105
107
Var /GLOBAL ASK_FOR_PATH
106
108
StrCpy $ASK_FOR_PATH " YES"
107
109
@@ -464,7 +466,7 @@ Section /O "Alaska Data Set" SecAlaskaSDB
464
466
; Set the size (in KB) of the unpacked archive file
465
467
AddSize 33914
466
468
467
- StrCpy $HTTP_PATH " http://download.osgeo. org/qgis /data"
469
+ StrCpy $HTTP_PATH " http://qgis. org/downloads /data"
468
470
StrCpy $ARCHIVE_NAME " qgis_sample_data.tar.gz"
469
471
StrCpy $EXTENDED_ARCHIVE_NAME " Alaska"
470
472
StrCpy $ORIGINAL_UNTAR_FOLDER " qgis_sample_data"
You can’t perform that action at this time.
0 commit comments