[GRASS-SVN] r41325 - grass/branches/develbranch_6/mswindows

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 7 11:35:12 EST 2010


Author: hellik
Date: 2010-03-07 11:35:12 -0500 (Sun, 07 Mar 2010)
New Revision: 41325

Modified:
   grass/branches/develbranch_6/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/branches/develbranch_6/mswindows/GRASS-Installer.nsi
===================================================================
--- grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi	2010-03-07 16:31:01 UTC (rev 41324)
+++ grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi	2010-03-07 16:35:12 UTC (rev 41325)
@@ -350,6 +350,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
@@ -365,6 +376,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