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.
精彩评论