From: dooglus Date: Fri, 6 Apr 2007 13:14:02 +0000 (+0000) Subject: Apply 1695492: install start menu shortcuts for all users on Win32. Patch by Dmitriy... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=7bf93c7ddd6f6032119bcc677d17481338b0a9a3;p=synfig.git 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 --- 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"