From: Pranjal Prabhash Date: Mon, 9 Apr 2012 14:55:08 +0000 (-0400) Subject: Standalone Mode Staff Client Shortcuts X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b55da928a94aa3976d02fed6c1603dd1d237b260;p=evergreen%2Fmasslnc.git Standalone Mode Staff Client Shortcuts This commit addresses LP#955283, which requested the creation of a Windows shortcut for Evergreen's standalone staff client mode. Signed-off-by: Pranjal Prabhash Signed-off-by: Ben Shum --- diff --git a/Open-ILS/xul/staff_client/windowssetup.nsi b/Open-ILS/xul/staff_client/windowssetup.nsi index e0bc1ef5df..a9543579a8 100644 --- a/Open-ILS/xul/staff_client/windowssetup.nsi +++ b/Open-ILS/xul/staff_client/windowssetup.nsi @@ -107,11 +107,13 @@ Section "Staff Client" SECMAIN CreateDirectory "$SMPROGRAMS\$ICONS_GROUP" !ifdef WICON CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Evergreen Staff Client.lnk" "$INSTDIR\evergreen.exe" "" "$INSTDIR\evergreen.ico" + CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Evergreen Staff Client (Standalone).lnk" "$INSTDIR\evergreen.exe" "-ILSoffline" "$INSTDIR\evergreen.ico" !ifdef PROFILES CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Evergreen Staff Client Profile Manager.lnk" "$INSTDIR\evergreen.exe" "-profilemanager" "$INSTDIR\evergreen.ico" !endif !else CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Evergreen Staff Client.lnk" "$INSTDIR\evergreen.exe" + CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Evergreen Staff Client (Standalone).lnk" "$INSTDIR\evergreen.exe" "-ILSoffline" !ifdef PROFILES CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Evergreen Staff Client Profile Manager.lnk" "$INSTDIR\evergreen.exe" "-profilemanager" !endif @@ -271,6 +273,7 @@ Section Uninstall Delete "$SMPROGRAMS\$ICONS_GROUP\Website.lnk" Delete "$DESKTOP\Evergreen Staff Client ${PRODUCT_TAG}.lnk" Delete "$SMPROGRAMS\$ICONS_GROUP\Evergreen Staff Client.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\Evergreen Staff Client (Standalone).lnk" ; External script for removing extra files before we wipe out the install directory !ifdef EXTRAS