From be35a890d4bb62ba6d6a701882e759f78e4e1184 Mon Sep 17 00:00:00 2001 From: daid Date: Tue, 13 Jan 2015 09:52:49 +0100 Subject: [PATCH] Execute Cura as user, see: http://mdb-blog.blogspot.nl/2013/01/nsis-lunch-program-as-user-from-uac.html --- scripts/win32/installer.nsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/win32/installer.nsi b/scripts/win32/installer.nsi index 73dc5eaf..29bcfd90 100644 --- a/scripts/win32/installer.nsi +++ b/scripts/win32/installer.nsi @@ -154,7 +154,7 @@ SectionEnd Function LaunchLink ; Write start menu entries for all users SetShellVarContext all - ExecShell "" "$SMPROGRAMS\Cura ${VERSION}\Cura ${VERSION}.lnk" + Exec '"$WINDIR\explorer.exe" "$SMPROGRAMS\Cura ${VERSION}\Cura ${VERSION}.lnk"' FunctionEnd Section "Install Arduino Drivers" -- 2.30.2