[QGIS Commit] r11612 - branches/Release-1_2_0/ms-windows
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Thu Sep 10 10:21:50 EDT 2009
Author: timlinux
Date: 2009-09-10 10:21:49 -0400 (Thu, 10 Sep 2009)
New Revision: 11612
Modified:
branches/Release-1_2_0/ms-windows/QGIS-Installer.nsi
Log:
Use lzma compression on package for best compression ratio. Other small tweaks to make a non grass package possible
Modified: branches/Release-1_2_0/ms-windows/QGIS-Installer.nsi
===================================================================
--- branches/Release-1_2_0/ms-windows/QGIS-Installer.nsi 2009-09-10 13:53:41 UTC (rev 11611)
+++ branches/Release-1_2_0/ms-windows/QGIS-Installer.nsi 2009-09-10 14:21:49 UTC (rev 11612)
@@ -9,7 +9,7 @@
;Select if you are building a "Development Version" or a "Release Version" of the Quantum GIS Installer
;Change the INSTALLER_TYPE variable to Release or Development
-!define INSTALLER_TYPE "Release"
+!define INSTALLER_TYPE "Release-NoGrass"
;----------------------------------------------------------------------------------------------------------------------------
@@ -18,13 +18,17 @@
!define RELEASE_VERSION_NUMBER "1.2.0"
!define RELEASE_VERSION_NAME "Daphnis"
!define RELEASE_SVN_REVISION "11475"
-!define RELEASE_BINARY_REVISION "0"
+!define RELEASE_BINARY_REVISION "1"
!define DEV_VERSION_NUMBER ""
!define DEV_VERSION_NAME ""
!define DEV_SVN_REVISION ""
!define DEV_BINARY_REVISION ""
+; Added by Tim to get optimal compression
+SetCompressor /SOLID lzma
+
+
;----------------------------------------------------------------------------------------------------------------------------
;Don't modify the following lines
@@ -39,7 +43,7 @@
;----------------------------------------------------------------------------------------------------------------------------
;define the QGIS Base Name
-!define RELEASE_QGIS_BASE "Quantum GIS"
+!define RELEASE_QGIS_BASE "Quantum GIS Daphnis"
!define DEV_QGIS_BASE "Quantum GIS Unstable Dev"
;Set the installer variables, depending on the selected version to build
@@ -56,6 +60,18 @@
!define CHECK_INSTALL_NAME "${RELEASE_QGIS_BASE}"
!define INSTALLER_DISPLAYED_NAME "${COMPLETE_NAME}"
!define PACKAGE_FOLDER ".\QGIS-Release-Package"
+!else if ${INSTALLER_TYPE} == "Release-NoGrass"
+ !define VERSION_NUMBER "${RELEASE_VERSION_NUMBER}"
+ !define VERSION_NAME "${RELEASE_VERSION_NAME}"
+ !define COMPLETE_NAME "${RELEASE_QGIS_BASE} ${RELEASE_VERSION_NUMBER} ${RELEASE_VERSION_NAME}"
+ !define SVN_REVISION "${RELEASE_SVN_REVISION}"
+ !define BINARY_REVISION "${RELEASE_BINARY_REVISION}"
+ !define QGIS_BASE "${RELEASE_QGIS_BASE}"
+ !define INSTALLER_NAME "QGIS-${VERSION_NUMBER}-${BINARY_REVISION}-No-GrassSetup.exe"
+ !define DISPLAYED_NAME "${RELEASE_QGIS_BASE} ${VERSION_NUMBER}-${BINARY_REVISION}"
+ !define CHECK_INSTALL_NAME "${RELEASE_QGIS_BASE}"
+ !define INSTALLER_DISPLAYED_NAME "${COMPLETE_NAME}"
+ !define PACKAGE_FOLDER ".\QGIS-Release-Package-No-Grass"
!else if ${INSTALLER_TYPE} == "Development"
!define VERSION_NUMBER "${DEV_VERSION_NUMBER}"
!define VERSION_NAME "${DEV_VERSION_NAME}"
@@ -525,6 +541,9 @@
Delete "$INSTDIR\icons\QGIS.ico"
Delete "$INSTDIR\icons\QGIS_Web.ico"
+
+ Delete "$INSTDIR\MRSID_README.txt"
+ Delete "$INSTDIR\run.bat"
;remove folders
RMDir /r "$INSTDIR\bin"
@@ -541,6 +560,8 @@
RMDir /r "$INSTDIR\resources"
RMDir /r "$INSTDIR\svg"
RMDir /r "$INSTDIR\themes"
+ RMDir /r "$INSTDIR\proj"
+ RMDir /r "$INSTDIR\epsg_csv"
;if empty, remove the install folder
RMDir "$INSTDIR"
More information about the QGIS-commit
mailing list