Index: scripts/jenkins/prepare-installer-package.bat =================================================================== diff -u -r225ff1398752e0eaf3cc3128a07cc15c0da0500c -ra9fc065f3dfe647a5b72b3363c830267678e59eb --- scripts/jenkins/prepare-installer-package.bat (.../prepare-installer-package.bat) (revision 225ff1398752e0eaf3cc3128a07cc15c0da0500c) +++ scripts/jenkins/prepare-installer-package.bat (.../prepare-installer-package.bat) (revision a9fc065f3dfe647a5b72b3363c830267678e59eb) @@ -2,4 +2,4 @@ call "%WORKSPACE%\scripts\jenkins\_get-output-dir.bat" || exit /b 1 -"C:\Program Files (x86)\Inno Setup 5\ISCC.exe" "%WORKSPACE%\scripts\setup.iss" /o"%OutDir%" +"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" "%WORKSPACE%\scripts\setup.iss" /o"%OutDir%" Index: scripts/setup.iss =================================================================== diff -u -r225ff1398752e0eaf3cc3128a07cc15c0da0500c -ra9fc065f3dfe647a5b72b3363c830267678e59eb --- scripts/setup.iss (.../setup.iss) (revision 225ff1398752e0eaf3cc3128a07cc15c0da0500c) +++ scripts/setup.iss (.../setup.iss) (revision a9fc065f3dfe647a5b72b3363c830267678e59eb) @@ -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)