Execute postinstall program with administrator privileges in Inno Setup
问题 I'm trying to run another installer at the end of the installation ( postinstall ). The installer needs administrator provileges. So PrivilegesRequired=admin was added and the error still was there. Error message below: Unable to execute file: C:\Users\User1\AppData\Local\Multi Webcam Video Recorder\webcam.exe CreateProcess failed; code 740. The requested operation requires elevation. #define MyAppName "Multi Webcam Video Recorder" #define MyAppExeName "webcam.exe" [Setup] AppName={#MyAppName