开发者

How to have a MSI package to change installed Win32 application compatibility options

Our Win32 applications need to write in their installation directory. So under Windows 7 and Server 2008, this requires administrator rights.

Currently we manually check the "run as administrator" option in the properties/compatibility tab of the EXE file.

Is there a way to do this aut开发者_如何学Pythonomatically during the installation of the MSI?


Add a manifest file to your application to make it ask for elevation at startup is a better workaround.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜