Apply 1695492: install start menu shortcuts for all users on Win32. Patch by Dmitriy...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 6 Apr 2007 13:14:02 +0000 (13:14 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 6 Apr 2007 13:14:02 +0000 (13:14 +0000)
git-svn-id: http://svn.voria.com/code@438 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/win32inst.nsi.in

index e8e1e0d..52503d2 100644 (file)
@@ -108,6 +108,7 @@ SectionEnd
 ; Optional section (can be disabled by the user)
 Section "Start Menu Shortcuts"
 
+  SetShellVarContext All
   CreateDirectory "$SMPROGRAMS\Voria"
   CreateShortCut "$SMPROGRAMS\Voria\Uninstall Synfig Studio.lnk" "$INSTDIR\uninstall-@PACKAGE_TARNAME@.exe" "" "$INSTDIR\uninstall-@PACKAGE_TARNAME@.exe" 0
   CreateShortCut "$SMPROGRAMS\Voria\Synfig Studio.lnk" "$INSTDIR\bin\synfigstudio.exe" "" "$INSTDIR\share\pixmaps\synfig_icon.ico" 0
@@ -144,6 +145,7 @@ Section "Uninstall"
   RMDir "$INSTDIR\bin"
 
   ; Remove shortcuts, if any
+  SetShellVarContext All
   Delete "$SMPROGRAMS\Voria\Uninstall Synfig Studio.lnk"
   Delete "$SMPROGRAMS\Voria\Synfig Studio.lnk"