X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fwin32inst.nsi.in;fp=synfig-core%2Ftrunk%2Fwin32inst.nsi.in;h=886938bbb080e3ae8e843110ae66abd752e9a517;hb=75a66d67fb6aa0d4e945175237a055fd48d05756;hp=2e4ad9e3da6918c1f740121e7219b850525ff419;hpb=2d0138b713ae1fda62952f420b200953cfe1f5f6;p=synfig.git 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