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 bn_append
Recipients Saxomania, bn_append, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-08-20.09:20:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629451220.12.0.387726893424.issue44934@roundup.psfhosted.org>
In-reply-to
Content
Hi Steve,

Of course there are various reasons for having multiple Python versions on a developer workstation but I would assume that the majority of Windows installer users simple want to run Python projects, at least this holds true for the majority of Python on Windows users in my org.

> if you'd really like this to be in the installer, feel free to go for it.

could you point me to the relevant files and lines for the PrependPath CLI option and implementation logic on Github? Not sure if I got it right, but I assume the following file is in charge of modifying the env:path:

https://github.com/python/cpython/blob/main/Tools/msi/path/path.wxs

Since I have never worked within the MSI framework, I could not figure out how the "call flow" from enabling the definition of the PrependPath in
https://github.com/python/cpython/blob/main/Tools/msi/bundle/bundle.wxs 
to actually modifying the path

Regarging path.wxs: Would you prefer that I add a pathappend/pathappend.wxs or should I simply add a new Component ID like so:

<Component Id="AppendPath_LM" Directory="InstallDirectory" Guid="*">
    <Condition>ALLUSERS=1</Condition>
    ...

Or would I introduce a new condition ALLUSERS_APPEND or something?
History
Date User Action Args
2021-08-20 09:20:20bn_appendsetrecipients: + bn_append, paul.moore, tim.golden, zach.ware, steve.dower, Saxomania
2021-08-20 09:20:20bn_appendsetmessageid: <1629451220.12.0.387726893424.issue44934@roundup.psfhosted.org>
2021-08-20 09:20:20bn_appendlinkissue44934 messages
2021-08-20 09:20:19bn_appendcreate