The docs have this command: pythoninstall.exe /quiet InstallAllUsers=1 PrependPath=1
But that just kicks off a background process, I want to script this and run other commands after the install is finished. How can run this as a background process?
Edit: wound up using PS: Start-Process <path to exe> -NoNewWindow -Wait
You can use START /WAIT like this:
$ START /WAIT pythoninstall.exe /quiet InstallAllUsers=1 PrependPath=1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With