Skip to content

Commit a32264e

Browse files
author
timlinux
committed
Brought over nsi from 1.1.0 release, updated version numbers, removed 'unstable' from package name
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11475 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 48e286e commit a32264e

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

ms-windows/QGIS-Installer.nsi

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515

1616
;Version variables
1717

18-
!define RELEASE_VERSION_NUMBER "0.11.0"
19-
!define RELEASE_VERSION_NAME "Metis"
20-
!define RELEASE_SVN_REVISION "8811"
21-
!define RELEASE_BINARY_REVISION "2"
18+
!define RELEASE_VERSION_NUMBER "1.2.0"
19+
!define RELEASE_VERSION_NAME "Daphnis"
20+
!define RELEASE_SVN_REVISION "11475"
21+
!define RELEASE_BINARY_REVISION "0"
2222

2323
!define DEV_VERSION_NUMBER ""
2424
!define DEV_VERSION_NAME ""
@@ -40,7 +40,7 @@
4040

4141
;define the QGIS Base Name
4242
!define RELEASE_QGIS_BASE "Quantum GIS"
43-
!define DEV_QGIS_BASE "QGIS-Dev"
43+
!define DEV_QGIS_BASE "Quantum GIS Unstable Dev"
4444

4545
;Set the installer variables, depending on the selected version to build
4646

@@ -301,6 +301,13 @@ Var /GLOBAL DOWNLOAD_MESSAGE_
301301
Section "Quantum GIS" SecQGIS
302302

303303
SectionIn RO
304+
305+
;Added by Tim to set the reg key so we get default toolbar layout
306+
!include ui.nsh
307+
;Added by Tim to set the reg key so we get default plugin loading
308+
!include plugins.nsh
309+
;Added by Tim to set the reg key so we get default python & py plugins
310+
!include python_plugins.nsh
304311

305312
;Set the INSTALL_DIR variable
306313
Var /GLOBAL INSTALL_DIR
@@ -370,15 +377,15 @@ Section "Quantum GIS" SecQGIS
370377
;Create the Desktop Shortcut
371378
SetShellVarContext current
372379

373-
CreateShortCut "$DESKTOP\${QGIS_BASE}.lnk" "$INSTALL_DIR\qgis.exe" ""\
380+
CreateShortCut "$DESKTOP\${QGIS_BASE}.lnk" "$INSTALL_DIR\bin\qgis.exe" ""\
374381
"$INSTALL_DIR\icons\QGIS.ico" "" SW_SHOWNORMAL "" "Launch ${COMPLETE_NAME}"
375382

376383
;Create the Windows Start Menu Shortcuts
377384
SetShellVarContext all
378385

379386
CreateDirectory "$SMPROGRAMS\${QGIS_BASE}"
380387

381-
CreateShortCut "$SMPROGRAMS\${QGIS_BASE}\${QGIS_BASE}.lnk" "$INSTALL_DIR\qgis.exe" ""\
388+
CreateShortCut "$SMPROGRAMS\${QGIS_BASE}\${QGIS_BASE}.lnk" "$INSTALL_DIR\bin\qgis.exe" ""\
382389
"$INSTALL_DIR\icons\QGIS.ico" "" SW_SHOWNORMAL "" "Launch ${COMPLETE_NAME}"
383390

384391
CreateShortCut "$SMPROGRAMS\${QGIS_BASE}\Quantum GIS Web Site.lnk" "$INSTALL_DIR\QGIS-WebSite.url" ""\
@@ -514,11 +521,13 @@ Section "Uninstall"
514521
Delete "$INSTDIR\QGIS-WebSite.url"
515522

516523
Delete "$INSTDIR\*.dll"
524+
Delete "$INSTDIR\*.csv"
517525

518526
Delete "$INSTDIR\icons\QGIS.ico"
519527
Delete "$INSTDIR\icons\QGIS_Web.ico"
520528

521529
;remove folders
530+
RMDir /r "$INSTDIR\bin"
522531
RMDir /r "$INSTDIR\doc"
523532
RMDir /r "$INSTDIR\grass"
524533
RMDir /r "$INSTDIR\i18n"
@@ -560,4 +569,4 @@ SectionEnd
560569
!insertmacro MUI_DESCRIPTION_TEXT ${SecAlaskaSDB} "Download and install the Alaska sample database (shapefiles and TIFF data)"
561570
!insertmacro MUI_FUNCTION_DESCRIPTION_END
562571

563-
;----------------------------------------------------------------------------------------------------------------------------
572+
;----------------------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)