Skip to content

Commit e8af977

Browse files
author
timlinux
committedAug 30, 2009
Added grass and nograss clauses
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11526 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed
 

‎ms-windows/QGIS-Installer.nsi

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
;Select if you are building a "Development Version" or a "Release Version" of the Quantum GIS Installer
1010
;Change the INSTALLER_TYPE variable to Release or Development
1111

12-
!define INSTALLER_TYPE "Release"
12+
!define INSTALLER_TYPE "Release-NoGrass"
1313

1414
;----------------------------------------------------------------------------------------------------------------------------
1515

@@ -39,7 +39,7 @@
3939
;----------------------------------------------------------------------------------------------------------------------------
4040

4141
;define the QGIS Base Name
42-
!define RELEASE_QGIS_BASE "Quantum GIS"
42+
!define RELEASE_QGIS_BASE "Quantum GIS Daphnis"
4343
!define DEV_QGIS_BASE "Quantum GIS Unstable Dev"
4444

4545
;Set the installer variables, depending on the selected version to build
@@ -56,6 +56,18 @@
5656
!define CHECK_INSTALL_NAME "${RELEASE_QGIS_BASE}"
5757
!define INSTALLER_DISPLAYED_NAME "${COMPLETE_NAME}"
5858
!define PACKAGE_FOLDER ".\QGIS-Release-Package"
59+
!else if ${INSTALLER_TYPE} == "Release-NoGrass"
60+
!define VERSION_NUMBER "${RELEASE_VERSION_NUMBER}"
61+
!define VERSION_NAME "${RELEASE_VERSION_NAME}"
62+
!define COMPLETE_NAME "${RELEASE_QGIS_BASE} ${RELEASE_VERSION_NUMBER} ${RELEASE_VERSION_NAME}"
63+
!define SVN_REVISION "${RELEASE_SVN_REVISION}"
64+
!define BINARY_REVISION "${RELEASE_BINARY_REVISION}"
65+
!define QGIS_BASE "${RELEASE_QGIS_BASE}"
66+
!define INSTALLER_NAME "QGIS-${VERSION_NUMBER}-${BINARY_REVISION}-Setup.exe"
67+
!define DISPLAYED_NAME "${RELEASE_QGIS_BASE} ${VERSION_NUMBER}-${BINARY_REVISION}"
68+
!define CHECK_INSTALL_NAME "${RELEASE_QGIS_BASE}"
69+
!define INSTALLER_DISPLAYED_NAME "${COMPLETE_NAME}"
70+
!define PACKAGE_FOLDER ".\QGIS-Release-Package-No-Grass"
5971
!else if ${INSTALLER_TYPE} == "Development"
6072
!define VERSION_NUMBER "${DEV_VERSION_NUMBER}"
6173
!define VERSION_NAME "${DEV_VERSION_NAME}"
@@ -525,6 +537,9 @@ Section "Uninstall"
525537

526538
Delete "$INSTDIR\icons\QGIS.ico"
527539
Delete "$INSTDIR\icons\QGIS_Web.ico"
540+
541+
Delete "$INSTDIR\MRSID_README.txt"
542+
Delete "$INSTDIR\run.bat"
528543

529544
;remove folders
530545
RMDir /r "$INSTDIR\bin"
@@ -541,6 +556,8 @@ Section "Uninstall"
541556
RMDir /r "$INSTDIR\resources"
542557
RMDir /r "$INSTDIR\svg"
543558
RMDir /r "$INSTDIR\themes"
559+
RMDir /r "$INSTDIR\proj"
560+
RMDir /r "$INSTDIR\epsg_csv"
544561

545562
;if empty, remove the install folder
546563
RMDir "$INSTDIR"

0 commit comments

Comments
 (0)
Please sign in to comment.