<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Oh - and also how to either (a) force bdist_wininst executables to request<br>elevation or (b) have the .msi generation be smarter wrt upgrading so
<br>installation is reasonable on Vista. Does anyone here have bdist_msi<br>experience?<br></blockquote></div><br>For a), it should work by adding a manifest like this <br><br><pre><?xml version="1.0" encoding="utf-8" ?>
<br><assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"><br> <assemblyIdentity version="<a href="http://1.0.0.0">1.0.0.0</a>" <br> processorArchitecture="X86"
<br> name="MyProjectName"<br> type="win32" /><br> <description>MyProjectDescription</description><br> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"><br>
<security><br> <requestedPrivileges><br> <requestedExecutionLevel level="requireAdministrator" /><br> </requestedPrivileges><br> </security><br> </trustInfo>
<br></assembly><br><br><br></pre><code>"$(DevEnvDir)..\..\Common7\Tools\Bin\mt.exe" -manifest
"$(ProjectDir)$(TargetName).exe.manifest"
–outputresource:"$(TargetDir)$(TargetFileName)";#1</code><br>