Mercurial > public > mercurial-scm > hg
changeset 52549:aaecf8b4adf2
contrib: install the Py Launcher in the Windows dependency installer script
Not sure why this was turned off originally, but this config puts the launcher
in `%WINDOWS%\py.exe`, and is able to launch any of these privately installed
pythons. The only caveat I see is the python install will fail if a newer one
is already installed. But as this script is structured, it installs the oldest
python first, so it upgrades it as needed when installing on a clean system.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 12 Dec 2024 15:55:58 -0500 |
parents | 11fa096c4467 |
children | da74e81ef9af |
files | contrib/install-windows-dependencies.ps1 |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/install-windows-dependencies.ps1 Thu Dec 12 14:02:09 2024 -0500 +++ b/contrib/install-windows-dependencies.ps1 Thu Dec 12 15:55:58 2024 -0500 @@ -126,7 +126,7 @@ $allusers = "0" } - Invoke-Process $installer "/quiet TargetDir=${dest} InstallAllUsers=${allusers} AssociateFiles=0 CompileAll=0 PrependPath=0 Include_doc=0 Include_launcher=0 InstallLauncherAllUsers=0 Include_pip=0 Include_test=0" + Invoke-Process $installer "/quiet TargetDir=${dest} InstallAllUsers=${allusers} AssociateFiles=0 CompileAll=0 PrependPath=0 Include_doc=0 Include_launcher=1 InstallLauncherAllUsers=1 Include_pip=0 Include_test=0" Invoke-Process ${dest}\python.exe $pip }