Skip to content

Commit b43d131

Browse files
committed
standalone windows installer: fix qgis demo data link
1 parent 9c95cdd commit b43d131

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

ms-windows/QGIS-Installer.nsi

+5-3
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ Name "${DISPLAYED_NAME}"
5858
;Name of the output file (installer executable)
5959
OutFile "${INSTALLER_NAME}"
6060

61-
;Define installation folder
62-
InstallDir "$PROGRAMFILES\${QGIS_BASE}"
6361

6462
;Tell the installer to show Install and Uninstall details as default
6563
ShowInstDetails show
@@ -102,6 +100,10 @@ Function .onInit
102100
${EndIf}
103101
${EndIf}
104102

103+
${If} $INSTDIR == ""
104+
StrCpy $INSTDIR "$PROGRAMFILES\${QGIS_BASE}"
105+
${EndIf}
106+
105107
Var /GLOBAL ASK_FOR_PATH
106108
StrCpy $ASK_FOR_PATH "YES"
107109

@@ -464,7 +466,7 @@ Section /O "Alaska Data Set" SecAlaskaSDB
464466
;Set the size (in KB) of the unpacked archive file
465467
AddSize 33914
466468

467-
StrCpy $HTTP_PATH "http://download.osgeo.org/qgis/data"
469+
StrCpy $HTTP_PATH "http://qgis.org/downloads/data"
468470
StrCpy $ARCHIVE_NAME "qgis_sample_data.tar.gz"
469471
StrCpy $EXTENDED_ARCHIVE_NAME "Alaska"
470472
StrCpy $ORIGINAL_UNTAR_FOLDER "qgis_sample_data"

0 commit comments

Comments
 (0)