From: Daid Date: Thu, 12 Apr 2012 19:30:32 +0000 (+0200) Subject: This might fix the permission issue with the windows installer X-Git-Tag: RC3~80 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=10c7dc93a8ba5ac815537df7a5acba3f15fd696f;p=cura.git This might fix the permission issue with the windows installer --- diff --git a/scripts/win32/installer.nsi b/scripts/win32/installer.nsi index 562bbaa9..b9f080d0 100644 --- a/scripts/win32/installer.nsi +++ b/scripts/win32/installer.nsi @@ -97,6 +97,9 @@ Section "Cura Installer" ExecWait '"$INSTDIR\drivers\dpinst32.exe" /lm' ${EndIf} + ; Give all users write permissions in the install directory, so they can read/write profile and preferences files. + AccessControl::GrantOnFile "$INSTDIR" "(S-1-5-32-545)" "FullAccess" + SectionEnd ;--------------------------------