Inno Setup - How to run an aplication with admin privileges if the setup is set to PrivilegesRequired=lowest?
问题 I want to run the setup with PrivilegesRequired=lowest . How to set and run an application (dxwebsetup.exe) to install with my setup with Administrator privileges? My code (Inno Setup - Avoid displaying filenames of sub-installers): procedure CurStepChanged(CurStep: TSetupStep); var ProgressPage: TOutputProgressWizardPage; ResultCode: Integer; begin if CurStep = ssInstall then begin if IsComponentSelected('DirectX') then begin ProgressPage := CreateOutputProgressPage('Installing prerequsities