Made for multiple installation of python on same machine.
Works and tested with Python 3.5 to 3.8.
Copy all dosbatch and xml files next to installer named like
Python-3.x.y-amd64.exe
.
For default python, as administrator, run
unattend-default.bat
to create file unattend.xml
needed for silent installation.
For all other python installations, as administrator, run
unattend-not-default.bat
to create file
unattend.xml
needed for silent installation.
See Caveats if you need to change default python version on already configured computer.
For each python that needs to be installed, run
python-silent-install.bat
.
For each python that needs to be removed from computer, run
python-silent-install.bat
.
Use download-debug.bat
to fetch all installation medias
including debug files and symbols.
Changing a non-default installation to become default installation does not work when minor version is not changed. Installers seems to ignore new settings on existing installation. Issue observed when going from version 3.6 to existing version 3.7.
- To change default python version from
3.N
to3.N+1
:- version
3.N
must be uninstalled first - version
3.N+1
must be uninstalled after - change
unattend.xml
of version3.N
tounattend-not-default.xml
- change
unattend.xml
of version3.N+1
tounattend-default.xml
- install version
3.N
, then version3.N+1
- version