-
Notifications
You must be signed in to change notification settings - Fork 1
/
cm_build_nosql.xml
121 lines (121 loc) · 10.1 KB
/
cm_build_nosql.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<?xml version="1.0" encoding="ISO-8859-1"?>
<configuration>
<project hostname="CM01.contoso.com" host="CM01" sitecode="P01" comment="Contoso SCCM primary site server build for CM01.contoso.com with SQL on separate host, 1.3.00 by DS 2017-09-16" />
<sources comment="Installation Media Source Locations">
<source name="ADK" path="\\FS1\apps\CM_BUILD\ADK\cached" comment="ADK 1703" />
<source name="MDT" path="\\FS1\apps\CM_BUILD\MDT" comment="MDT 8443" />
<source name="CONFIGMGR" path="\\FS1\apps\CM_BUILD\CONFIGMGR\SMSSETUP\BIN\X64" comment="Configuration Manager 1702" />
<source name="CMTOOLKIT" path="\\FS1\apps\CM_BUILD\TOOLS" comment="ConfigMgr Toolkit 2012 R2" />
<source name="RCTOOLS" path="\\FS1\apps\CM_BUILD\TOOLS" comment="Right-click Tools" />
<source name="WIN10" path="\\FS1\sources\win10x64ent" comment="Windows 10 image source" />
<source name="WINSERVER" path="\\FS1\sources\win2016dc" comment="Windows Server 2016 image source" />
<source name="WSUSCONFIG" path="C:\Program Files\Update Services\Tools" comment="WSUS Configuration Utility" />
<source name="SERVERROLES" path="\\FS1\apps\CM_BUILD" comment="XML configuration file" />
<source name="WSUS" path="\\FS1\apps\CM_BUILD" comment="XML configuration file" />
</sources>
<packages comment="Controls the order and links of execution">
<package use="1" name="LOCALACCOUNTS" type="function" comment="Configure local accounts and groups" dependson="" />
<package use="1" name="SERVERROLES" type="feature" comment="Server Roles and Features" note="change feature to payload to invoke external file" />
<package use="1" name="ADK" type="payload" comment="Windows 10 ADK 1703" dependson="" />
<package use="1" name="MDT" type="payload" comment="Microsoft Deployment Toolkit 8443" dependson="" />
<package use="0" name="SQLSERVER" type="payload" comment="SQL Server 2016" dependson="" />
<package use="0" name="SSMS" type="payload" comment="SQL Server Management Studio" dependson="" />
<package use="0" name="SQLCONFIG" type="function" comment="Configure SQL Server" dependson="" />
<package use="1" name="WSUS" type="feature" comment="WSUS Role" dependson="" note="change feature to payload to invoke external file" />
<package use="1" name="WSUSCONFIG" type="function" comment="WSUS Configuration" dependson="WSUS" />
<package use="1" name="CONFIGMGR" type="payload" comment="Configuration Manager 1702" dependson="WSUS" />
<package use="1" name="CMTOOLKIT" type="payload" comment="ConfigMgr Toolkit 2012 R2" dependson="CONFIGMGR" />
<package use="1" name="RCTOOLS" type="payload" comment="Recast RightClick Tools" dependson="CONFIGMGR" />
</packages>
<payloads comment="Describes execution details for each package">
<payload name="SERVERROLES" file="roles.xml" params="" comment="only used if the package type is payload, must reside in same path as cm_build.xml" />
<payload name="ADSCHEMA" file="extadsch.exe" params="" comment="AD Schema Extension" />
<payload name="ADK" file="adksetup.exe" params="/installpath E:\ADK /Features OptionId.DeploymentTools OptionId.WindowsPreinstallationEnvironment OptionId.UserStateMigrationTool /quiet /ceip off" comment="ADK" />
<payload name="MDT" file="MicrosoftDeploymentToolkit_x64.msi" params="/qb! /norestart" comment="MDT" />
<payload name="WSUSCONFIG" file="WsusUtil.exe" params="postinstall SQL_INSTANCE_NAME=SQLSERVER123.CONTOSO.COM CONTENT_DIR=F:\UPDATES" comment="WSUS configuration" />
<payload name="CONFIGMGR" file="setup.exe" params="/script F:\CM_BUILD\cmsetup.ini" comment="Configuration Manager" />
<payload name="CMTOOLKIT" file="ConfigMgrTools.msi" params="/qb! /norestart" comment="ConfigMgr Toolkit" />
<payload name="RCTOOLS" file="Recast_RCT_Latest.msi" params="/qb! /norestart" comment="Right-Click Tools" />
<payload name="WSUS" file="wsus.xml" params="" comment="only used if the package type is payload" />
</payloads>
<detections comment="Describes criteria to indicate install status">
<detect name="LOCALACCOUNTS" path="HKLM:\SOFTWARE\CM_BUILD\PROCESSED" value="LOCALACCOUNTS" type="synthetic" />
<detect name="SERVERROLES" path="HKLM:\SOFTWARE\CM_BUILD\PROCESSED" value="SERVERROLES" type="synthetic" />
<detect name="ADK" path="HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows Kits\Installed Roots" value="" type="automatic" />
<detect name="MDT" path="HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9547DE37-4A70-4194-97EA-ACC3E747254B}" value="" type="automatic" />
<detect name="WSUS" path="UpdateServices-DB" value="" type="feature" />
<detect name="WSUSCONFIG" path="HKLM:\SOFTWARE\CM_BUILD\PROCESSED" value="WSUSCONFIG" type="synthetic" />
<detect name="CONFIGMGR" path="HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SMS Primary Site" value="" type="automatic" />
<detect name="CMTOOLKIT" path="C:\Program Files (x86)\ConfigMgr 2012 Toolkit R2\ToolkitHelp.docx" value="" type="automatic" />
<detect name="RCTOOLS" path="HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{4FFF7ECC-CCF7-4530-B938-E7812BB91186}" value="" type="automatic" />
</detections>
<localaccounts comment="Local Accounts and Group Memberships">
<localaccount use="1" name="CONTOSO\sql-svc" memberof="Administrators" rights="SeServiceLogonRight,SeDenyInteractiveLogonRight" comment="rights are based on http://get-carbon.org/Grant-Privilege.html" />
<localaccount use="1" name="CONTOSO\sccmadmin" memberof="Administrators" rights="" comment="" />
<localaccount use="1" name="CONTOSO\IT sccm admins" memberof="Administrators" rights="" comment="" />
</localaccounts>
<folders comment="Folders to be created">
<folder use="1" name="E:\ADK" comment="ADK installation path" />
<folder use="1" name="E:\MDT" comment="MDT installation path" />
<folder use="1" name="E:\CONFIGMGR" comment="ConfigMgr installation path" />
<folder use="1" name="F:\CM_BUILD" comment="CM_BUILD temp folder" />
<folder use="1" name="F:\CMPREREQS" comment="ConfigMgr prereqs download path" />
<folder use="1" name="F:\UPDATES" comment="WSUS updates storage path" />
<folder use="1" name="F:\SOURCES,F:\SOURCES\DRVPKG,F:\SOURCES\DRVSRC,F:\SOURCES\SCRIPTS,F:\SOURCES\TOOLS" comment="" />
</folders>
<files comment="Files to be created">
<file use="1" pkg="CONFIGMGR" name="cmsetup.ini" path="F:\CM_BUILD" force="true" comment="ConfigMgr Installation file">
<keys>
<key name="__SECTION1" value="Identification" comment="do not modify" />
<key name="Action" value="InstallPrimarySite" />
<key name="__SECTION2" value="Options" comment="do not modify" />
<!--<key name="ProductID" value="EVAL" />-->
<key name="ProductID" value="BXH69-M62YX-QQD6R-3GPWX-8WMFY" />
<key name="SiteCode" value="@SITECODE@" />
<key name="SiteName" value="Primary Site 1" />
<key name="SMSInstallDir" value="E:\ConfigMgr" />
<key name="SDKServer" value="@HOSTNAME@" />
<key name="RoleCommunicationProtocol" value="HTTPorHTTPS" />
<key name="ClientsUsePKICertificate" value="0" />
<key name="PrerequisiteComp" value="0" />
<key name="PrerequisitePath" value="F:\CMPREREQS" comment="path for downloading prereqs" />
<key name="ManagementPoint" value="@HOSTNAME@" />
<key name="ManagementPointProtocol" value="HTTP" />
<key name="DistributionPoint" value="@HOSTNAME@" />
<key name="DistributionPointProtocol" value="HTTP" />
<key name="DistributionPointInstallIIS" value="0" />
<key name="AdminConsole" value="1" />
<key name="JoinCEIP" value="0" />
<key name="__SECTION3" value="SQLConfigOptions" comment="do not modify" />
<!-- ******* MODIFY THE FOLLOWING LINE TO IDENTIFY THE SQL SERVER HOSTNAME ******* -->
<key name="SQLServerName" value="SQLSERVER123.CONTOSO.COM" />
<key name="DatabaseName" value="CM_@SITECODE@" />
<key name="SQLSSBPort" value="4022" />
<key name="__SECTION4" value="CloudConnectorOptions" comment="do not modify" />
<key name="CloudConnector" value="1" />
<key name="CloudConnectorServer" value="@HOSTNAME@" />
<key name="UseProxy" value="0" />
<key name="ProxyName" value="" />
<key name="ProxyPort" value="" />
<key name="__SECTION5" value="SystemCenterOptions" comment="do not modify" />
<key name="__SECTION6" value="SABranchOptions" comment="do not modify" />
<key name="SAActive" value="1" comment="Software Assurance active" />
<key name="CurrentBranch" value="1" />
<key name="SAExpiration" value="2017-09-14 00:00:00.000" comment="SA initiation date" />
<key name="__SECTION7" value="HierarchyExpansionOption" comment="do not modify" />
</keys>
</file>
</files>
<features comment="Windows Server roles and features">
<feature use="1" name="SERVERROLES" comment="Prerequisite roles">BITS,BITS-IIS-Ext,NET-Framework-45-ASPNET,NET-Framework-Core,NET-Framework-Features,NET-WCF-HTTP-Activation45,RDC,RSAT-Bits-Server,WAS,WAS-Config-APIs,WAS-Process-Model,Web-App-Dev,Web-Asp-Net,Web-Asp-Net45,Web-Common-Http,Web-Default-Doc,Web-Dir-Browsing,Web-Filtering,Web-Health,Web-Http-Errors,Web-Http-Logging,Web-Http-Redirect,Web-Http-Tracing,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Log-Libraries,Web-Metabase,Web-Mgmt-Compat,Web-Mgmt-Console,Web-Mgmt-Tools,Web-Net-Ext,Web-Net-Ext45,Web-Performance,Web-Request-Monitor,Web-Security,Web-Server,Web-Stat-Compression,Web-Static-Content,Web-WebServer,Web-Windows-Auth,Web-WMI</feature>
<feature use="1" name="WSUS" comment="WSUS role">UpdateServices-Services,UpdateServices-DB,UpdateServices-RSAT</feature>
</features>
<regkeys comment="Custom registry keys">
<regkey use="1" name="ADK1703Fix" order="after" path="HKLM:\SYSTEM\CurrentControlSet\Services\WIMMount" value="ImagePath" data="system32\drivers\wimmount.sys" comment="https://blogs.technet.microsoft.com/mniehaus/2017/05/16/quick-workaround-for-adk-1703-issue" />
<regkey use="1" name="SAMPLE" order="before" path="HKLM:\SOFTWARE\CM_BUILD\TEST" value="V1" data="123" comment="Sample" />
</regkeys>
<sqloptions comment="SQL Server configuration settings">
<sqloption use="0" name="SqlServerMemoryMax" db="ALL" param="80%" comment="Set memory to 80 percent of total" />
<sqloption use="0" name="SetDBRecoveryModel" db="ReportServer" param="SIMPLE" comment="Set recovery model to SIMPLE" />
</sqloptions>
</configuration>