[GRASS-SVN] r41334 - grass/branches/releasebranch_6_4/mswindows

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 7 12:16:08 EST 2010


Author: hellik
Date: 2010-03-07 12:16:07 -0500 (Sun, 07 Mar 2010)
New Revision: 41334

Modified:
   grass/branches/releasebranch_6_4/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/releasebranch_6_4/mswindows/GRASS-Installer.nsi
===================================================================
--- grass/branches/releasebranch_6_4/mswindows/GRASS-Installer.nsi	2010-03-07 17:11:45 UTC (rev 41333)
+++ grass/branches/releasebranch_6_4/mswindows/GRASS-Installer.nsi	2010-03-07 17:16:07 UTC (rev 41334)
@@ -365,6 +365,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
@@ -380,6 +391,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