I found a working solution here: https://github.com/bmatzelle/gow/issues/156
Quote:
The solution is to write the manifest file listed below for the executables to convince the UAC that it does not require administrative privileges.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security> <requestedPrivileges> <requestedExecutionLevel level="asInvoker" uiAccess="false"/> </requestedPrivileges> </security> </trustInfo> </assembly>
The manifest file names should be install.exe.manifest and patch.exe.manifest, and then put them in the same folder as install.exe and patch.exe.
If the UAC message still pops up, change the timestamp of the install.exe and patch.exe files to convince Windows to pick up the new manifest file.
Dmitriy
source share