Change the Windows deployment templates to support disk configuration, nics configuration and run postscripts

This commit is contained in:
daniceexi 2013-12-31 09:01:28 -05:00
parent 1039ba5490
commit 2facd1f0c4
7 changed files with 58 additions and 35 deletions

View File

@ -14,11 +14,7 @@
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk>
<DiskID>==INSTALLTODISK==</DiskID>
<WillWipeDisk>true</WillWipeDisk>
==BOOTPARTITIONS==
</Disk>
==DISKCONFIG==
</DiskConfiguration>
<DynamicUpdate>
<Enable>false</Enable>
@ -82,6 +78,7 @@
</component>
</settings>
<settings pass="specialize">
#WINNETCFG#
#WINADJOIN#
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<fDenyTSConnections>false</fDenyTSConnections>
@ -100,6 +97,12 @@
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Description>StartPointOfPostscripts</Description>
<Order>50</Order>
<Path>cmd /c c:\xcatpost\xcatwinpost.vbs</Path>
<WillReboot>OnRequest</WillReboot>
</RunSynchronousCommand>
#WINDISABLENULLADMIN#
</RunSynchronous>
</component>

View File

@ -11,12 +11,8 @@
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DiskConfiguration>
<Disk wcm:action="add">
<DiskID>==INSTALLTODISK==</DiskID>
==BOOTPARTITIONS==
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
==DISKCONFIG==
</DiskConfiguration>
<ImageInstall>
<OSImage>
@ -39,6 +35,7 @@
</component>
</settings>
<settings pass="specialize">
#WINNETCFG#
#WINADJOIN#
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
@ -57,6 +54,12 @@
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Description>StartPointOfPostscripts</Description>
<Order>50</Order>
<Path>cmd /c c:\xcatpost\xcatwinpost.vbs</Path>
<WillReboot>OnRequest</WillReboot>
</RunSynchronousCommand>
#WINDISABLENULLADMIN#
</RunSynchronous>
</component>

View File

@ -11,12 +11,8 @@
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DiskConfiguration>
<Disk wcm:action="add">
==BOOTPARTITIONS==
<DiskID>==INSTALLTODISK==</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
==DISKCONFIG==
</DiskConfiguration>
<ImageInstall>
<OSImage>
@ -39,6 +35,7 @@
</component>
</settings>
<settings pass="specialize">
#WINNETCFG#
#WINADJOIN#
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
@ -57,6 +54,12 @@
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Description>StartPointOfPostscripts</Description>
<Order>50</Order>
<Path>cmd /c c:\xcatpost\xcatwinpost.vbs</Path>
<WillReboot>OnRequest</WillReboot>
</RunSynchronousCommand>
#WINDISABLENULLADMIN#
</RunSynchronous>
</component>

View File

@ -14,11 +14,7 @@
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk>
<DiskID>==INSTALLTODISK==</DiskID>
<WillWipeDisk>true</WillWipeDisk>
==BOOTPARTITIONS==
</Disk>
==DISKCONFIG==
</DiskConfiguration>
<DynamicUpdate>
<Enable>false</Enable>
@ -91,6 +87,7 @@
</component>
</settings>
<settings pass="specialize">
#WINNETCFG#
<component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Identification>
<JoinDomain>#TABLE:site:key=domain:value#</JoinDomain>
@ -115,6 +112,12 @@
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Description>StartPointOfPostscripts</Description>
<Order>50</Order>
<Path>cmd /c c:\xcatpost\xcatwinpost.vbs</Path>
<WillReboot>OnRequest</WillReboot>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>100</Order>
<Path>cmd /c %systemroot%\system32\net.exe user Administrator /active:no</Path>

View File

@ -14,11 +14,7 @@
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk>
<DiskID>==INSTALLTODISK==</DiskID>
<WillWipeDisk>true</WillWipeDisk>
==BOOTPARTITIONS==
</Disk>
==DISKCONFIG==
</DiskConfiguration>
<DynamicUpdate>
<Enable>false</Enable>
@ -82,6 +78,7 @@
</component>
</settings>
<settings pass="specialize">
#WINNETCFG#
#WINADJOIN#
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<fDenyTSConnections>false</fDenyTSConnections>
@ -100,6 +97,12 @@
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Description>StartPointOfPostscripts</Description>
<Order>50</Order>
<Path>cmd /c c:\xcatpost\xcatwinpost.vbs</Path>
<WillReboot>OnRequest</WillReboot>
</RunSynchronousCommand>
#WINDISABLENULLADMIN#
</RunSynchronous>
</component>

View File

@ -14,11 +14,7 @@
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk>
<DiskID>==INSTALLTODISK==</DiskID>
<WillWipeDisk>true</WillWipeDisk>
==BOOTPARTITIONS==
</Disk>
==DISKCONFIG==
</DiskConfiguration>
<DynamicUpdate>
<Enable>false</Enable>
@ -90,6 +86,7 @@
</component>
</settings>
<settings pass="specialize">
#WINNETCFG#
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<fDenyTSConnections>false</fDenyTSConnections>
</component>
@ -106,6 +103,14 @@
</FirewallGroups>
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Description>StartPointOfPostscripts</Description>
<Order>50</Order>
<Path>cmd /c c:\xcatpost\xcatwinpost.vbs</Path>
<WillReboot>OnRequest</WillReboot>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ComputerName>#TABLE:nodelist:$NODE:node#</ComputerName>

View File

@ -11,12 +11,8 @@
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DiskConfiguration>
<Disk wcm:action="add">
==BOOTPARTITIONS==
<DiskID>==INSTALLTODISK==</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
==DISKCONFIG==
</DiskConfiguration>
<ImageInstall>
<OSImage>
@ -39,6 +35,7 @@
</component>
</settings>
<settings pass="specialize">
#WINNETCFG#
#WINADJOIN#
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
@ -57,6 +54,12 @@
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Description>StartPointOfPostscripts</Description>
<Order>50</Order>
<Path>cmd /c c:\xcatpost\xcatwinpost.vbs</Path>
<WillReboot>OnRequest</WillReboot>
</RunSynchronousCommand>
#WINDISABLENULLADMIN#
</RunSynchronous>
</component>