<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.&nbsp;&nbsp;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>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;
<br>&lt;assembly xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; manifestVersion=&quot;1.0&quot;&gt;<br>  &lt;assemblyIdentity version=&quot;<a href="http://1.0.0.0">1.0.0.0</a>&quot; <br>      processorArchitecture=&quot;X86&quot;
<br>      name=&quot;MyProjectName&quot;<br>      type=&quot;win32&quot; /&gt;<br>  &lt;description&gt;MyProjectDescription&lt;/description&gt;<br>  &lt;trustInfo xmlns=&quot;urn:schemas-microsoft-com:asm.v2&quot;&gt;<br>
    &lt;security&gt;<br>      &lt;requestedPrivileges&gt;<br>        &lt;requestedExecutionLevel level=&quot;requireAdministrator&quot; /&gt;<br>      &lt;/requestedPrivileges&gt;<br>    &lt;/security&gt;<br>  &lt;/trustInfo&gt;
<br>&lt;/assembly&gt;<br><br><br></pre><code>&quot;$(DevEnvDir)..\..\Common7\Tools\Bin\mt.exe&quot; -manifest
&quot;$(ProjectDir)$(TargetName).exe.manifest&quot;
–outputresource:&quot;$(TargetDir)$(TargetFileName)&quot;;#1</code><br>