Inno Setup Compiler packages programs that require administrator privileges

When your desktop application is set in the manifest file to require administrator privileges to run, if no corresponding configuration is made to Inno Setup when the application is packaged, check "Run PCTV dual-mode soft terminal" at the end of the program installation, as shown in the figure below shown:

An exception will appear as shown below:

The workaround is as follows:

Find the SetupLdr.e32 file in the Inno Setup Compiler installation directory, use ResHacker to open SetupLdr.e32, and modify the Manifest file:

将<requestedExecutionLevel level="asInvoker" uiAccess="false"/>改为:<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />即可。

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325470834&siteId=291194637