21 3.1. The full installer Python Setup and Usage, Release 3.9.5 For example, to silently install a default, system-wide Python installation, you could use the following command (from an elevated command prompt): python-3.9.0.exe /quiet InstallAllUsers=1 PrependPath=1 Include_test=0 To allow users to easily install a personal copy of Python without the test suite, you could provide a shortcut with the following command. This will display a simplified initial page and disallow customization: (Note that omitting the launcher also omits file associations, and is only recommended for per-user installs when there is also a system-wide installation that included the launcher.) The options listed above can also be provided in a file named$_{unattend.xml}$ alongside the executable. This file specifies a list of options and values. When a value is provided as an attribute, it will be converted to a number if possible. Values provided as element text are always left as strings. This example file sets the same options as the previous example: As some features of Python are not included in the initial installer download, selecting those features may require an internet connection. To avoid this need, all possible components may be downloaded on-demand to create a complete layout that will no longer require an internet connection regardless of the selected features. Note that this download may be bigger than required, but where a large number of installations are going to be performed it is very useful to have a locally cached copy. Execute the following command from Command Prompt to download all possible required files. Remember to substitute$_{python-3.9.0.exe}$ for the actual name of your installer, and to create layouts in their own directories to avoid collisions between files with the same name. python-3.9.0.exe /layout [optional target directory] You may also specify the$_{/quiet}$option to hide the progress display. Once Python has been installed, you can add or remove features through the Programs and Features tool that is part of Windows. Select the Python entry and choose “Uninstall/Change” to open the installer in maintenance mode. “Modify” allows you to add or remove features by modifying the checkboxes - unchanged checkboxes will not install or remove anything. Some options cannot be changed in this mode, such as the install directory; to modify these, you will need to remove and then reinstall Python completely. “Repair” will verify all the files that should be installed using the current settings and replace any that have been removed or modified. “Uninstall” will remove Python entirely, with the exception of the Python Launcher for Windows , which has its own entry in Programs and Features. 3.1.5 Modifying an install 3.1.4 Installing Without Downloading <Options> <Option Name="InstallAllUsers" Value= "no" /> <Option Name="Include_launcher" Value= "0" /> <Option Name="Include_test" Value= "no" /> <Option Name="SimpleInstall" Value= "yes" /> <Option Name="SimpleInstallDescription" > Just for me, no test suite </Option> </Options> python-3.9.0.exe InstallAllUsers=0 Include_launcher=0 Include_test=0 SimpleInstall=1 SimpleInstallDescription="Just for me, no test suite."