Index: scripts/setup.iss =================================================================== diff -u -N -r4b95a9a12207c789c280e2769c91503e0a549f20 -re4ae9a48ae631c9160cbd31b2e0e6b3c39b72e80 --- scripts/setup.iss (.../setup.iss) (revision 4b95a9a12207c789c280e2769c91503e0a549f20) +++ scripts/setup.iss (.../setup.iss) (revision e4ae9a48ae631c9160cbd31b2e0e6b3c39b72e80) @@ -52,7 +52,7 @@ AppPublisherURL={#MyAppURL} AppSupportURL={#MyAppURL} AppUpdatesURL={#MyAppURL} -DefaultDirName={pf}\{#MyAppName} +DefaultDirName={commonpf}\{#MyAppName} DefaultGroupName={#MyAppName} AllowNoIcons=true LicenseFile=..\License.txt @@ -209,7 +209,7 @@ begin if CurStep = ssPostInstall then begin - if IsTaskSelected('startatboot') then + if WizardIsTaskSelected('startatboot') then ExecAsOriginalUser('Reg.exe', 'add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "Copy Handler" /d "' + ExpandConstant('{app}\{code:ExpandArch|ExeFilename}') + '" /f', '', SW_HIDE, ewWaitUntilTerminated, ResultCode) else ExecAsOriginalUser('Reg.exe', 'delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "Copy Handler" /f', '', SW_HIDE, ewWaitUntilTerminated, ResultCode)