This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mhammond
Recipients mhammond, theller
Date 2008-04-08.02:43:02
SpamBayes Score 0.03472016
Marked as misclassified No
Message-id <1207622587.48.0.467176827447.issue2581@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch adds basic UAC support to bdist_wininst created
installers.  A new option '--user-access-control' has been added to
bdist_wininst, which is written to the INI file read by the installer. 
The installer reads this value: if it is 'force', elevation is always
requested, if it is 'auto', elevation is requested when Python is
installed in HKLM.  'none' (the default) means nothing UAC related
happens at all.

The elevation happens by having the installer re-execute itself using
ShellExecute.

I've also ensured the code builds for all versions of VS we support.  As
a result, it was necessary to change the old bdist_wininst project files
to point to the later zlib version Python itself uses.  All these
changes are in the patch.
History
Date User Action Args
2008-04-08 02:43:08mhammondsetspambayes_score: 0.0347202 -> 0.03472016
recipients: + mhammond, theller
2008-04-08 02:43:07mhammondsetspambayes_score: 0.0347202 -> 0.0347202
messageid: <1207622587.48.0.467176827447.issue2581@psf.upfronthosting.co.za>
2008-04-08 02:43:06mhammondlinkissue2581 messages
2008-04-08 02:43:06mhammondcreate