Index: scripts/jenkins/prepare-installer-package.bat =================================================================== diff -u -N -rbdab7d614e0a5a7a3e5aa325f0e057b0112a5509 -r225ff1398752e0eaf3cc3128a07cc15c0da0500c --- scripts/jenkins/prepare-installer-package.bat (.../prepare-installer-package.bat) (revision bdab7d614e0a5a7a3e5aa325f0e057b0112a5509) +++ scripts/jenkins/prepare-installer-package.bat (.../prepare-installer-package.bat) (revision 225ff1398752e0eaf3cc3128a07cc15c0da0500c) @@ -2,4 +2,4 @@ call "%WORKSPACE%\scripts\jenkins\_get-output-dir.bat" || exit /b 1 -"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" "%WORKSPACE%\scripts\setup.iss" /o"%OutDir%" +"C:\Program Files (x86)\Inno Setup 5\ISCC.exe" "%WORKSPACE%\scripts\setup.iss" /o"%OutDir%" Index: scripts/setup.iss =================================================================== diff -u -N -re4ae9a48ae631c9160cbd31b2e0e6b3c39b72e80 -r225ff1398752e0eaf3cc3128a07cc15c0da0500c --- scripts/setup.iss (.../setup.iss) (revision e4ae9a48ae631c9160cbd31b2e0e6b3c39b72e80) +++ scripts/setup.iss (.../setup.iss) (revision 225ff1398752e0eaf3cc3128a07cc15c0da0500c) @@ -52,7 +52,7 @@ AppPublisherURL={#MyAppURL} AppSupportURL={#MyAppURL} AppUpdatesURL={#MyAppURL} -DefaultDirName={commonpf}\{#MyAppName} +DefaultDirName={pf}\{#MyAppName} DefaultGroupName={#MyAppName} AllowNoIcons=true LicenseFile=..\License.txt @@ -209,7 +209,7 @@ begin if CurStep = ssPostInstall then begin - if WizardIsTaskSelected('startatboot') then + if IsTaskSelected('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)