[GRASS-SVN] r41330 - grass/trunk/mswindows
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Mar 7 11:54:14 EST 2010
Author: hellik
Date: 2010-03-07 11:54:14 -0500 (Sun, 07 Mar 2010)
New Revision: 41330
Modified:
grass/trunk/mswindows/GRASS-Installer.nsi
Log:
wingrass-installer improvements - part 4:
options for launching Grass and Reference manual by exit the installer
(both directly started, without a intermediate popup)
Modified: grass/trunk/mswindows/GRASS-Installer.nsi
===================================================================
--- grass/trunk/mswindows/GRASS-Installer.nsi 2010-03-07 16:48:56 UTC (rev 41329)
+++ grass/trunk/mswindows/GRASS-Installer.nsi 2010-03-07 16:54:14 UTC (rev 41330)
@@ -349,6 +349,17 @@
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_INSTFILES
+
+;These indented statements modify settings for MUI_PAGE_FINISH
+ !define MUI_FINISHPAGE_NOAUTOCLOSE
+ !define MUI_FINISHPAGE_RUN
+ !define MUI_FINISHPAGE_RUN_NOTCHECKED
+ !define MUI_FINISHPAGE_RUN_TEXT "Launch Grass"
+ !define MUI_FINISHPAGE_RUN_FUNCTION "LaunchGrass"
+ !define MUI_FINISHPAGE_SHOWREADME
+ !define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
+ !define MUI_FINISHPAGE_SHOWREADME_TEXT "Launch Reference Manual"
+ !define MUI_FINISHPAGE_SHOWREADME_FUNCTION "ViewReadme"
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_WELCOME
@@ -364,6 +375,26 @@
;----------------------------------------------------------------------------------------------------------------------------
+;launch Grass Gis by exit the installation wizard
+
+Function LaunchGrass
+
+ Exec '"$INSTDIR\${GRASS_COMMAND}.bat" "-wxpython"'
+
+FunctionEnd
+
+;----------------------------------------------------------------------------------------------------------------------------
+
+;launch reference manual by exit the installation wizard
+
+Function ViewReadme
+
+ ExecShell "open" "$INSTDIR\docs\html\index.html"
+
+FunctionEnd
+
+;----------------------------------------------------------------------------------------------------------------------------
+
;Installer Sections
;Declares the variables for optional Sample Data Sections
More information about the grass-commit
mailing list