summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-07-18 16:28:19 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2015-07-18 16:28:19 (GMT)
commit2434aa24e049e54fb6573d7e5126b410c4569037 (patch)
tree15c5a58dbf864f42a59b400dae25afe3cd076493 /Doc/using
parenta3d03ec6b1191c04fb4073e26069d3282c0b6e72 (diff)
downloadcpython-2434aa24e049e54fb6573d7e5126b410c4569037.zip
cpython-2434aa24e049e54fb6573d7e5126b410c4569037.tar.gz
cpython-2434aa24e049e54fb6573d7e5126b410c4569037.tar.bz2
Adds support for an unattend.xml file to control the Windows installer options.
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/windows.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Doc/using/windows.rst b/Doc/using/windows.rst
index 53d5f3e..dad827d 100644
--- a/Doc/using/windows.rst
+++ b/Doc/using/windows.rst
@@ -171,6 +171,20 @@ display a simplified initial page and disallow customization::
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 and the previous example::
+
+ <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>
+
.. _install-layout-option:
Installing Without Downloading