Bastian Neuburger <b.neubur...@gsi.de> added the comment:

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?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44934>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to