mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-12 13:27:23 +00:00
Fixes #10396, spelling and formatting for provisioning multivariant code
This commit is contained in:
parent
af4e5b77fa
commit
2f3fc592ff
@ -121,30 +121,30 @@ Follow these steps to create a provisioning package with multivariant capabiliti
|
|||||||
The following example shows the contents of a sample customizations.xml file.
|
The following example shows the contents of a sample customizations.xml file.
|
||||||
|
|
||||||
```XML
|
```XML
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<WindowsCustomizatons>
|
<WindowsCustomizations>
|
||||||
<PackageConfig xmlns="urn:schemas-Microsoft-com:Windows-ICD-Package-Config.v1.0">
|
<PackageConfig xmlns="urn:schemas-Microsoft-com:Windows-ICD-Package-Config.v1.0">
|
||||||
<ID>{6aaa4dfa-00d7-4aaa-8adf-73c6a7e2501e}</ID>
|
<ID>{6aaa4dfa-00d7-4aaa-8adf-73c6a7e2501e}</ID>
|
||||||
<Name>My Provisioning Package</Name>
|
<Name>My Provisioning Package</Name>
|
||||||
<Version>1.0</Version>
|
<Version>1.0</Version>
|
||||||
<OwnerType>OEM</OwnerType>
|
<OwnerType>OEM</OwnerType>
|
||||||
<Rank>50</Rank>
|
<Rank>50</Rank>
|
||||||
</PackageConfig>
|
</PackageConfig>
|
||||||
<Settings xmlns="urn:schemas-microsoft-com:windows-provisioning">
|
<Settings xmlns="urn:schemas-microsoft-com:windows-provisioning">
|
||||||
<Customizations>
|
<Customizations>
|
||||||
<Common>
|
<Common>
|
||||||
<Policies>
|
<Policies>
|
||||||
<AllowBrowser>0</AllowBrowser>
|
<AllowBrowser>0</AllowBrowser>
|
||||||
<AllowCamera>0</AllowCamera>
|
<AllowCamera>0</AllowCamera>
|
||||||
<AllowBluetooth>0</AllowBluetooth>
|
<AllowBluetooth>0</AllowBluetooth>
|
||||||
</Policies>
|
</Policies>
|
||||||
<HotSpot>
|
<HotSpot>
|
||||||
<Enabled>0</Enabled>
|
<Enabled>0</Enabled>
|
||||||
</HotSpot>
|
</HotSpot>
|
||||||
</Common>
|
</Common>
|
||||||
</Customizations>
|
</Customizations>
|
||||||
</Settings>
|
</Settings>
|
||||||
</WindowsCustomizatons>
|
</WindowsCustomizations>
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Edit the customizations.xml file to create a **Targets** section to describe the conditions that will handle your multivariant settings.
|
5. Edit the customizations.xml file to create a **Targets** section to describe the conditions that will handle your multivariant settings.
|
||||||
@ -152,48 +152,48 @@ Follow these steps to create a provisioning package with multivariant capabiliti
|
|||||||
The following example shows the customizations.xml, which has been modified to include several conditions including **ProcessorName**, **ProcessorType**, **MCC**, and **MNC**.
|
The following example shows the customizations.xml, which has been modified to include several conditions including **ProcessorName**, **ProcessorType**, **MCC**, and **MNC**.
|
||||||
|
|
||||||
```XML
|
```XML
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<WindowsCustomizatons>
|
<WindowsCustomizations>
|
||||||
<PackageConfig xmlns="urn:schemas-Microsoft-com:Windows-ICD-Package-Config.v1.0">
|
<PackageConfig xmlns="urn:schemas-Microsoft-com:Windows-ICD-Package-Config.v1.0">
|
||||||
<ID>{6aaa4dfa-00d7-4aaa-8adf-73c6a7e2501e}</ID>
|
<ID>{6aaa4dfa-00d7-4aaa-8adf-73c6a7e2501e}</ID>
|
||||||
<Name>My Provisioning Package</Name>
|
<Name>My Provisioning Package</Name>
|
||||||
<Version>1.0</Version>
|
<Version>1.0</Version>
|
||||||
<OwnerType>OEM</OwnerType>
|
<OwnerType>OEM</OwnerType>
|
||||||
<Rank>50</Rank>
|
<Rank>50</Rank>
|
||||||
</PackageConfig>
|
</PackageConfig>
|
||||||
<Settings xmlns="urn:schemas-microsoft-com:windows-provisioning">
|
<Settings xmlns="urn:schemas-microsoft-com:windows-provisioning">
|
||||||
<Customizations>
|
<Customizations>
|
||||||
<Common>
|
<Common>
|
||||||
<Policies>
|
<Policies>
|
||||||
<AllowBrowser>0</AllowBrowser>
|
<AllowBrowser>0</AllowBrowser>
|
||||||
<AllowCamera>0</AllowCamera>
|
<AllowCamera>0</AllowCamera>
|
||||||
<AllowBluetooth>0</AllowBluetooth>
|
<AllowBluetooth>0</AllowBluetooth>
|
||||||
</Policies>
|
</Policies>
|
||||||
<HotSpot>
|
<HotSpot>
|
||||||
<Enabled>0</Enabled>
|
<Enabled>0</Enabled>
|
||||||
</HotSpot>
|
</HotSpot>
|
||||||
</Common>
|
</Common>
|
||||||
<Targets>
|
<Targets>
|
||||||
<Target Id="Unique target identifier for desktop">
|
<Target Id="Unique target identifier for desktop">
|
||||||
<TargetState>
|
<TargetState>
|
||||||
<Condition Name="ProcessorName" Value="Pattern:.*Celeron.*" />
|
<Condition Name="ProcessorName" Value="Pattern:.*Celeron.*" />
|
||||||
<Condition Name="ProcessorType" Value="Pattern:.*(I|i)ntel.*" />
|
<Condition Name="ProcessorType" Value="Pattern:.*(I|i)ntel.*" />
|
||||||
</TargetState>
|
</TargetState>
|
||||||
<TargetState>
|
<TargetState>
|
||||||
<Condition Name="ProcessorName" Value="Barton" />
|
<Condition Name="ProcessorName" Value="Barton" />
|
||||||
<Condition Name="ProcessorType" Value="Athlon MP" />
|
<Condition Name="ProcessorType" Value="Athlon MP" />
|
||||||
</TargetState>
|
</TargetState>
|
||||||
</Target>
|
</Target>
|
||||||
<Target Id="Mobile target">
|
<Target Id="Mobile target">
|
||||||
<TargetState>
|
<TargetState>
|
||||||
<Condition Name="MCC" Value="Range:310, 320" />
|
<Condition Name="MCC" Value="Range:310, 320" />
|
||||||
<Condition Name="MNC" Value="!Range:400, 550" />
|
<Condition Name="MNC" Value="!Range:400, 550" />
|
||||||
</TargetState>
|
</TargetState>
|
||||||
</Target>
|
</Target>
|
||||||
</Targets>
|
</Targets>
|
||||||
</Customizations>
|
</Customizations>
|
||||||
</Settings>
|
</Settings>
|
||||||
</WindowsCustomizatons>
|
</WindowsCustomizations>
|
||||||
```
|
```
|
||||||
|
|
||||||
6. In the customizations.xml file, create a **Variant** section for the settings you need to customize. To do this:
|
6. In the customizations.xml file, create a **Variant** section for the settings you need to customize. To do this:
|
||||||
@ -212,56 +212,56 @@ 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.
|
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
|
```XML
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<WindowsCustomizatons>
|
<WindowsCustomizations>
|
||||||
<PackageConfig xmlns="urn:schemas-Microsoft-com:Windows-ICD-Package-Config.v1.0">
|
<PackageConfig xmlns="urn:schemas-Microsoft-com:Windows-ICD-Package-Config.v1.0">
|
||||||
<ID>{6aaa4dfa-00d7-4aaa-8adf-73c6a7e2501e}</ID>
|
<ID>{6aaa4dfa-00d7-4aaa-8adf-73c6a7e2501e}</ID>
|
||||||
<Name>My Provisioning Package</Name>
|
<Name>My Provisioning Package</Name>
|
||||||
<Version>1.0</Version>
|
<Version>1.0</Version>
|
||||||
<OwnerType>OEM</OwnerType>
|
<OwnerType>OEM</OwnerType>
|
||||||
<Rank>50</Rank>
|
<Rank>50</Rank>
|
||||||
</PackageConfig>
|
</PackageConfig>
|
||||||
<Settings xmlns="urn:schemas-microsoft-com:windows-provisioning">
|
<Settings xmlns="urn:schemas-microsoft-com:windows-provisioning">
|
||||||
<Customizations>
|
<Customizations>
|
||||||
<Common>
|
<Common>
|
||||||
</Common>
|
</Common>
|
||||||
<Targets>
|
<Targets>
|
||||||
<Target Id="Unique target identifier for desktop">
|
<Target Id="Unique target identifier for desktop">
|
||||||
<TargetState>
|
<TargetState>
|
||||||
<Condition Name="ProcessorName" Value="Pattern:.*Celeron.*" />
|
<Condition Name="ProcessorName" Value="Pattern:.*Celeron.*" />
|
||||||
<Condition Name="ProcessorType" Value="Pattern:.*(I|i)ntel.*" />
|
<Condition Name="ProcessorType" Value="Pattern:.*(I|i)ntel.*" />
|
||||||
</TargetState>
|
</TargetState>
|
||||||
<TargetState>
|
<TargetState>
|
||||||
<Condition Name="ProcessorName" Value="Barton" />
|
<Condition Name="ProcessorName" Value="Barton" />
|
||||||
<Condition Name="ProcessorType" Value="Athlon MP" />
|
<Condition Name="ProcessorType" Value="Athlon MP" />
|
||||||
</TargetState>
|
</TargetState>
|
||||||
</Target>
|
</Target>
|
||||||
<Target Id="Mobile target">
|
<Target Id="Mobile target">
|
||||||
<TargetState>
|
<TargetState>
|
||||||
<Condition Name="MCC" Value="Range:310, 320" />
|
<Condition Name="MCC" Value="Range:310, 320" />
|
||||||
<Condition Name="MNC" Value="!Range:400, 550" />
|
<Condition Name="MNC" Value="!Range:400, 550" />
|
||||||
</TargetState>
|
</TargetState>
|
||||||
</Target>
|
</Target>
|
||||||
</Targets>
|
</Targets>
|
||||||
<Variant>
|
<Variant>
|
||||||
<TargetRefs>
|
<TargetRefs>
|
||||||
<TargetRef Id="Unique target identifier for desktop" />
|
<TargetRef Id="Unique target identifier for desktop" />
|
||||||
<TargetRef Id="Mobile target" />
|
<TargetRef Id="Mobile target" />
|
||||||
</TargetRefs>
|
</TargetRefs>
|
||||||
<Settings>
|
<Settings>
|
||||||
<Policies>
|
<Policies>
|
||||||
<AllowBrowser>1</AllowBrowser>
|
<AllowBrowser>1</AllowBrowser>
|
||||||
<AllowCamera>1</AllowCamera>
|
<AllowCamera>1</AllowCamera>
|
||||||
<AllowBluetooth>1</AllowBluetooth>
|
<AllowBluetooth>1</AllowBluetooth>
|
||||||
</Policies>
|
</Policies>
|
||||||
<HotSpot>
|
<HotSpot>
|
||||||
<Enabled>1</Enabled>
|
<Enabled>1</Enabled>
|
||||||
</HotSpot>
|
</HotSpot>
|
||||||
</Settings>
|
</Settings>
|
||||||
</Variant>
|
</Variant>
|
||||||
</Customizations>
|
</Customizations>
|
||||||
</Settings>
|
</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.
|
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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user