From b55da928a94aa3976d02fed6c1603dd1d237b260 Mon Sep 17 00:00:00 2001 From: Pranjal Prabhash Date: Mon, 9 Apr 2012 10:55:08 -0400 Subject: [PATCH] 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 --- Open-ILS/xul/staff_client/windowssetup.nsi | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.43.2