From 75a66d67fb6aa0d4e945175237a055fd48d05756 Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 6 Apr 2007 13:09:47 +0000 Subject: [PATCH] Atrus' Windows patches: [ 1695482 ] win32-synfig-all-users git-svn-id: http://svn.voria.com/code@435 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/win32inst.nsi.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/synfig-core/trunk/win32inst.nsi.in b/synfig-core/trunk/win32inst.nsi.in index 2e4ad9e..886938b 100644 --- a/synfig-core/trunk/win32inst.nsi.in +++ b/synfig-core/trunk/win32inst.nsi.in @@ -89,6 +89,7 @@ SectionEnd ; Optional section (can be disabled by the user) Section "Start Menu Shortcuts" + SetShellVarContext All CreateDirectory "$SMPROGRAMS\Voria" CreateShortCut "$SMPROGRAMS\Voria\Uninstall Synfig Core.lnk" "$INSTDIR\uninstall-@PACKAGE_TARNAME@.exe" "" "$INSTDIR\uninstall-@PACKAGE_TARNAME@.exe" 0 @@ -117,6 +118,7 @@ SectionEnd Section "un.Start Menu Shortcuts" ; Remove shortcuts, if any + SetShellVarContext All Delete "$SMPROGRAMS\Voria\Uninstall Synfig Core.lnk" RMDir "$SMPROGRAMS\Voria" @@ -129,6 +131,7 @@ Section "Examples" SetOutPath $INSTDIR\examples File "@srcdir@\examples\*.sif" + SetShellVarContext All CreateDirectory "$SMPROGRAMS\Voria" CreateShortCut "$SMPROGRAMS\Voria\Examples.lnk" "$INSTDIR\examples" "" "$INSTDIR\examples" 0 SectionEnd @@ -136,7 +139,8 @@ SectionEnd Section "un.Examples" Delete "$INSTDIR\examples\*.sif" RMDir "$INSTDIR\examples" - + + SetShellVarContext All Delete "$SMPROGRAMS\Voria\Examples.lnk" RMDir "$SMPROGRAMS\Voria" SectionEnd -- 2.7.4