一直百思不解,在XP上好用,到Window 7出问题。看了 后,只能说:
只能说MS很愚蠢Patch.exe does not need admin privileges; it's the heuristics built
into Vista which assumes that executables which do not have a manifest
and have certain strings in their name - such as 'patch' and 'setup' -
which causes the elevation prompt. Adding the manifest above stops
Vista applying this heuristic; patch.exe then runs using the invoker's
privilege.
You'll need three manifests for gnuwin32 utils,
patch.exe.manifest
install.exe.manifest
install-info.exe.manifest
patch.exe.manifest
- <?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.v2">
-
<security>
-
<requestedPrivileges>
-
<requestedExecutionLevel level="asInvoker"/>
-
</requestedPrivileges>
-
</security>
-
</trustInfo>
-
</assembly>
阅读(3168) | 评论(0) | 转发(0) |