Python Forum
Silent installation with Add python.exe to path - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Silent installation with Add python.exe to path (/thread-11567.html)



Silent installation with Add python.exe to path - ag248 - Jul-16-2018

Hi All:

I have try install the python with following

msiexec /i python-3.4.4.amd64.msi /quiet InstallAllUsers=1 PrependPath=1

As above the Environment Variable does not shown path is added.


is the PrependPath=1 also equal to the Add python.exe to Path in GUI Mode?

if it is not could someone kindly tell me what is the name to installed Add Python.exe to Path

many thanks
Ag248


RE: Silent installation with Add python.exe to path - Larz60+ - Jul-16-2018

see: https://python-forum.io/Thread-Basic-Part-1-Python-3-6-3-7-and-pip-installation-under-Windows?highlight=windows
and: https://python-forum.io/Thread-Basic-Part-2-Python-environment-Windows


RE: Silent installation with Add python.exe to path - ag248 - Jul-16-2018

Thank you Larz60+
it seem that is for the GUI installation, but I am after the silent installation as I am deploy to the PC.
just wondering is there a bug that it cannot create a path on the command shell.

ag248


RE: Silent installation with Add python.exe to path - ag248 - Aug-09-2018

thanks, I managed to found the soloution:


msiexec /i "python-2.7.11.amd64.msi" /passive /norestart ADDLOCAL=ALL

from
stackoverflow.com/questions/34214607/python-2-7-windows-silent-installer-msi-command-line-option-to-set-the-path

can close this thread now,Admin