VirtualBox

source: vbox/trunk/src/VBox/Installer/common/unattended_templates/win_nt6_unattended.xml@ 67940

Last change on this file since 67940 was 67940, checked in by vboxsync, 8 years ago

Unattended/NT6+: reg isn't a cmd built in command but c:\windows\system32\reg.exe, so we can start it directly.

  • Property svn:eol-style set to CRLF
  • Property svn:keywords set to Author Date Id Revision
File size: 6.0 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<unattend xmlns="urn:schemas-microsoft-com:unattend"
3 xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
4
5 <settings pass="windowsPE">
6 <component name="Microsoft-Windows-International-Core-WinPE"
7 processorArchitecture="@@VBOX_INSERT_OS_ARCH_ATTRIB_DQ@@"
8 publicKeyToken="31bf3856ad364e35" language="neutral"
9 versionScope="nonSxS">
10 <InputLocale>en-US</InputLocale>
11 <SystemLocale>en-US</SystemLocale>
12 <UILanguage>en-US</UILanguage>
13 <UserLocale>en-US</UserLocale>
14 </component>
15
16 <component name="Microsoft-Windows-Setup"
17 processorArchitecture="@@VBOX_INSERT_OS_ARCH_ATTRIB_DQ@@"
18 publicKeyToken="31bf3856ad364e35" language="neutral"
19 versionScope="nonSxS">
20
21 <DiskConfiguration>
22 <WillShowUI>OnError</WillShowUI>
23 <Disk>
24 <DiskID>0</DiskID>
25 <WillWipeDisk>true</WillWipeDisk>
26 <CreatePartitions>
27 <CreatePartition>
28 <Order>1</Order>
29 <Type>Primary</Type>
30 <Extend>true</Extend>
31 </CreatePartition>
32 </CreatePartitions>
33 </Disk>
34 </DiskConfiguration>
35
36 <UserData>
37 <ProductKey>
38 <Key>@@VBOX_INSERT_PRODUCT_KEY_ELEMENT@@</Key>
39 <WillShowUI>OnError</WillShowUI>
40 </ProductKey>
41 <AcceptEula>true</AcceptEula>
42 </UserData>
43
44 <ImageInstall>
45 <OSImage>
46 <InstallFrom>
47 <MetaData wcm:action="add">
48 <Key>/IMAGE/INDEX</Key>
49 <Value>@@VBOX_INSERT_IMAGE_INDEX_ELEMENT@@</Value>
50 </MetaData>
51 <!-- <Path>d:\sources\install.wim</Path> - the w7 tests doesn't specify this -->
52 </InstallFrom>
53 <InstallTo>
54 <DiskID>0</DiskID>
55 <PartitionID>1</PartitionID>
56 </InstallTo>
57 <WillShowUI>OnError</WillShowUI>
58 <InstallToAvailablePartition>false</InstallToAvailablePartition>
59 </OSImage>
60 </ImageInstall>
61
62 <ComplianceCheck>
63 <DisplayReport>OnError</DisplayReport>
64 </ComplianceCheck>
65
66 </component>
67 </settings>
68
69 <settings pass="oobeSystem">
70 <component name="Microsoft-Windows-Shell-Setup"
71 processorArchitecture="@@VBOX_INSERT_OS_ARCH_ATTRIB_DQ@@"
72 publicKeyToken="31bf3856ad364e35" language="neutral"
73 versionScope="nonSxS">
74 <AutoLogon>
75 <Password>
76 <Value>@@VBOX_INSERT_USER_PASSWORD_ELEMENT@@</Value>
77 <PlainText>true</PlainText>
78 </Password>
79 <Enabled>true</Enabled>
80 <Username>@@VBOX_INSERT_USER_LOGIN_ELEMENT@@</Username>
81 </AutoLogon>
82
83 <UserAccounts>
84@@VBOX_COND_IS_USER_LOGIN_NOT_ADMINISTRATOR@@
85 <AdministratorPassword>
86 <Value>@@VBOX_INSERT_ROOT_PASSWORD_ELEMENT@@</Value>
87 <PlainText>true</PlainText>
88 </AdministratorPassword>
89
90 <LocalAccounts>
91 <LocalAccount wcm:action="add">
92 <Name>@@VBOX_INSERT_USER_LOGIN_ELEMENT@@</Name>
93 <DisplayName>@@VBOX_INSERT_USER_FULL_NAME_ELEMENT@@</DisplayName>
94 <Group>administrators;users</Group>
95 <Password>
96 <Value>@@VBOX_INSERT_USER_PASSWORD_ELEMENT@@</Value>
97 <PlainText>true</PlainText>
98 </Password>
99 </LocalAccount>
100 </LocalAccounts>
101@@VBOX_COND_END@@
102@@VBOX_COND_IS_USER_LOGIN_ADMINISTRATOR@@
103 <AdministratorPassword>
104 <Value>@@VBOX_INSERT_USER_PASSWORD_ELEMENT@@</Value>
105 <PlainText>true</PlainText>
106 </AdministratorPassword>
107@@VBOX_COND_END@@
108 </UserAccounts>
109
110 <VisualEffects>
111 <FontSmoothing>ClearType</FontSmoothing>
112 </VisualEffects>
113
114 <OOBE>
115 <ProtectYourPC>3</ProtectYourPC>
116 <HideEULAPage>true</HideEULAPage>
117 <SkipUserOOBE>true</SkipUserOOBE>
118 <SkipMachineOOBE>true</SkipMachineOOBE>
119 <NetworkLocation>Home</NetworkLocation>
120 </OOBE>
121
122 <FirstLogonCommands>
123 <SynchronousCommand wcm:action="add">
124 <Order>1</Order>
125 <Description>Turn Off Network Selection pop-up</Description>
126 <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff"</CommandLine>
127 </SynchronousCommand>
128@@VBOX_COND_IS_INSTALLING_ADDITIONS@@
129 <SynchronousCommand wcm:action="add">
130 <Order>2</Order>
131 <Description>Install Oracle certificate</Description>
132 <CommandLine>e:\cert\VBoxCertUtil.exe add-trusted-publisher e:\cert\vbox*.cer --root e:\cert\vbox*.cer
133 </SynchronousCommand>
134 <SynchronousCommand wcm:action="add">
135 <Order>3</Order>
136 <Description>Install VirtualBox Guest Additions</Description>
137 <CommandLine>e:\VBoxWindowsAdditions.exe /S</CommandLine>
138 </SynchronousCommand>
139@@VBOX_COND_END@@
140 </FirstLogonCommands>
141
142 <TimeZone>GMT Standard Time</TimeZone>
143 </component>
144
145 </settings>
146</unattend>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette