Shortcuts for all users, not just current user.
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 24 Mar 2011 18:38:14 +0000 (18:38 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 24 Mar 2011 18:38:14 +0000 (18:38 +0000)
Author: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>

git-svn-id: svn://svn.open-ils.org/ILS/trunk@19855 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/windowssetup.nsi

index d5077fb..a613dbf 100644 (file)
@@ -76,6 +76,7 @@ ShowUnInstDetails show
 RequestExecutionLevel admin
 
 Section "Staff Client" SECMAIN
+  SetShellVarContext All ; All Users (for shortcuts)
   ; Uninstall old (inno) variant?
   IfFileExists "$INSTDIR/unin000.exe" 0 +3
     ExecWait '"$INSTDIR/unins000.exe" /VERYSILENT'
@@ -234,6 +235,7 @@ Function "un.RemoveFileCheck"
 FunctionEnd
 
 Section Uninstall
+  SetShellVarContext All ; All Users (for shortcuts)
   !insertmacro MUI_STARTMENU_GETFOLDER "Application" $ICONS_GROUP
   Delete "$INSTDIR\${PRODUCT_NAME}.url"
   Delete "$INSTDIR\uninst.exe"