Fixes #10396, spelling and formatting for provisioning multivariant code

This commit is contained in:
Anthony Swierkosz 2022-03-06 20:50:55 -05:00
parent af4e5b77fa
commit 2f3fc592ff
No known key found for this signature in database
GPG Key ID: FA653BCC2CE12624

View File

@ -121,8 +121,8 @@ Follow these steps to create a provisioning package with multivariant capabiliti
The following example shows the contents of a sample customizations.xml file.
```XML
<?xml version="1.0" encoding="utf-8"?>
<WindowsCustomizatons>
<?xml version="1.0" encoding="utf-8"?>
<WindowsCustomizations>
<PackageConfig xmlns="urn:schemas-Microsoft-com:Windows-ICD-Package-Config.v1.0">
<ID>{6aaa4dfa-00d7-4aaa-8adf-73c6a7e2501e}</ID>
<Name>My Provisioning Package</Name>
@ -144,7 +144,7 @@ Follow these steps to create a provisioning package with multivariant capabiliti
</Common>
</Customizations>
</Settings>
</WindowsCustomizatons>
</WindowsCustomizations>
```
5. Edit the customizations.xml file to create a **Targets** section to describe the conditions that will handle your multivariant settings.
@ -153,7 +153,7 @@ Follow these steps to create a provisioning package with multivariant capabiliti
```XML
<?xml version="1.0" encoding="utf-8"?>
<WindowsCustomizatons>
<WindowsCustomizations>
<PackageConfig xmlns="urn:schemas-Microsoft-com:Windows-ICD-Package-Config.v1.0">
<ID>{6aaa4dfa-00d7-4aaa-8adf-73c6a7e2501e}</ID>
<Name>My Provisioning Package</Name>
@ -193,7 +193,7 @@ Follow these steps to create a provisioning package with multivariant capabiliti
</Targets>
</Customizations>
</Settings>
</WindowsCustomizatons>
</WindowsCustomizations>
```
6. In the customizations.xml file, create a **Variant** section for the settings you need to customize. To do this:
@ -212,8 +212,8 @@ Follow these steps to create a provisioning package with multivariant capabiliti
The following example shows the customizations.xml updated to include a **Variant** section and the moved settings that will be applied if the conditions for the variant are met.
```XML
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
<WindowsCustomizatons>
<?xml version="1.0" encoding="utf-8"?>
<WindowsCustomizations>
<PackageConfig xmlns="urn:schemas-Microsoft-com:Windows-ICD-Package-Config.v1.0">
<ID>{6aaa4dfa-00d7-4aaa-8adf-73c6a7e2501e}</ID>
<Name>My Provisioning Package</Name>
@ -261,7 +261,7 @@ Follow these steps to create a provisioning package with multivariant capabiliti
</Variant>
</Customizations>
</Settings>
</WindowsCustomizatons>
</WindowsCustomizations>
```
7. Save the updated customizations.xml file and note the path to this updated file. You will need the path as one of the values for the next step.