From 7bf93c7ddd6f6032119bcc677d17481338b0a9a3 Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 6 Apr 2007 13:14:02 +0000 Subject: [PATCH] Apply 1695492: install start menu shortcuts for all users on Win32. Patch by Dmitriy Pomerantsev (Atrus) git-svn-id: http://svn.voria.com/code@438 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/win32inst.nsi.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/synfig-studio/trunk/win32inst.nsi.in b/synfig-studio/trunk/win32inst.nsi.in index e8e1e0d..52503d2 100644 --- a/synfig-studio/trunk/win32inst.nsi.in +++ b/synfig-studio/trunk/win32inst.nsi.in @@ -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" -- 2.7.4