|
@@ -651,39 +651,19 @@ Section "GRASS" SecGRASS
|
|
|
;Create the Desktop Shortcut
|
|
|
SetShellVarContext current
|
|
|
|
|
|
- CreateShortCut "$DESKTOP\${GRASS_BASE}.lnk" "$INSTALL_DIR\${GRASS_COMMAND}.bat" "-wx"\
|
|
|
- "$INSTALL_DIR\gui\icons\grass.ico" "" SW_SHOWNORMAL "" "Launch GRASS ${VERSION_NUMBER} with wxGUI and CMD console"
|
|
|
+ CreateShortCut "$DESKTOP\${GRASS_BASE}.lnk" "$INSTALL_DIR\${GRASS_COMMAND}.bat" "-gui"\
|
|
|
+ "$INSTALL_DIR\gui\icons\grass.ico" "" SW_SHOWNORMAL "" "Launch GRASS GIS ${VERSION_NUMBER}"
|
|
|
|
|
|
;Create the Windows Start Menu Shortcuts
|
|
|
SetShellVarContext all
|
|
|
|
|
|
CreateDirectory "$SMPROGRAMS\${GRASS_BASE}"
|
|
|
|
|
|
- CreateShortCut "$SMPROGRAMS\${GRASS_BASE}\${GRASS_BASE} GUI.lnk" "$INSTALL_DIR\${GRASS_COMMAND}.bat" "-wx"\
|
|
|
- "$INSTALL_DIR\gui\icons\grass.ico" "" SW_SHOWNORMAL "" "Launch GRASS ${VERSION_NUMBER} with wxGUI and CMD console"
|
|
|
-
|
|
|
- ; CreateShortCut "$SMPROGRAMS\${GRASS_BASE}\${GRASS_BASE} GUI with MSYS.lnk" "$INSTALL_DIR\${GRASS_COMMAND}_msys.bat" "-wx"\
|
|
|
- ; "$INSTALL_DIR\gui\icons\grass_msys.ico" "" SW_SHOWNORMAL "" "Launch GRASS ${VERSION_NUMBER} with wxGUI and MSYS UNIX console"
|
|
|
-
|
|
|
- CreateShortCut "$SMPROGRAMS\${GRASS_BASE}\${GRASS_BASE} Command Line.lnk" "$INSTALL_DIR\${GRASS_COMMAND}.bat" "-text"\
|
|
|
- "$INSTALL_DIR\gui\icons\grass_cmd.ico" "" SW_SHOWNORMAL "" "Launch GRASS ${VERSION_NUMBER} in text mode"
|
|
|
-
|
|
|
- CreateShortCut "$SMPROGRAMS\${GRASS_BASE}\MSYS UNIX Console.lnk" "$INSTALL_DIR\msys\msys.bat" ""\
|
|
|
- "$INSTALL_DIR\gui\icons\msys.ico" "" SW_SHOWNORMAL "" "Open a MSYS UNIX console"
|
|
|
-
|
|
|
- CreateShortCut "$SMPROGRAMS\${GRASS_BASE}\GRASS Web Site.lnk" "$INSTALL_DIR\GRASS-WebSite.url" ""\
|
|
|
- "$INSTALL_DIR\gui\icons\grass_web.ico" "" SW_SHOWNORMAL "" "Visit the GRASS website"
|
|
|
-
|
|
|
-; FIXME: ship the WinGrass release notes .html file instead of URL
|
|
|
-; http://trac.osgeo.org/grass/browser/grass-web/trunk/grass@GRASS_VERSION_MAJOR@@GRASS_VERSION_MINOR@/binary/mswindows/native/README.html?format=raw
|
|
|
-; probably ship with devel versions too? ie Release Notes, not the Release Announcement press release.
|
|
|
- !if ${INSTALLER_TYPE} == "Release"
|
|
|
- CreateShortCut "$SMPROGRAMS\${GRASS_BASE}\${GRASS_BASE} Release Notes.lnk" "$INSTALL_DIR\WinGRASS-README.url" ""\
|
|
|
- "$INSTALL_DIR\gui\icons\wingrass.ico" "" SW_SHOWNORMAL "" "Visit the WinGRASS Project Web Page"
|
|
|
- !endif
|
|
|
+ CreateShortCut "$SMPROGRAMS\${GRASS_BASE}\${GRASS_BASE}.lnk" "$INSTALL_DIR\${GRASS_COMMAND}.bat" "-gui"\
|
|
|
+ "$INSTALL_DIR\gui\icons\grass.ico" "" SW_SHOWNORMAL "" "Launch GRASS GIS ${VERSION_NUMBER}"
|
|
|
|
|
|
CreateShortCut "$SMPROGRAMS\${GRASS_BASE}\Uninstall ${GRASS_BASE}.lnk" "$INSTALL_DIR\Uninstall-GRASS.exe" ""\
|
|
|
- "$INSTALL_DIR\Uninstall-GRASS.exe" "" SW_SHOWNORMAL "" "Uninstall GRASS ${VERSION_NUMBER}"
|
|
|
+ "$INSTALL_DIR\Uninstall-GRASS.exe" "" SW_SHOWNORMAL "" "Uninstall GRASS GIS ${VERSION_NUMBER}"
|
|
|
|
|
|
;Create the grass_command.bat
|
|
|
ClearErrors
|