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 | <LocalAccounts>
|
---|
85 | <LocalAccount wcm:action="add">
|
---|
86 | <Name>@@VBOX_INSERT_USER_LOGIN_ELEMENT@@</Name>
|
---|
87 | <DisplayName>@@VBOX_INSERT_USER_FULL_NAME_ELEMENT@@</DisplayName>
|
---|
88 | <Group>administrators;users</Group>
|
---|
89 | <Password>
|
---|
90 | <Value>@@VBOX_INSERT_USER_PASSWORD_ELEMENT@@</Value>
|
---|
91 | <PlainText>true</PlainText>
|
---|
92 | </Password>
|
---|
93 | </LocalAccount>
|
---|
94 | </LocalAccounts>
|
---|
95 | </UserAccounts>
|
---|
96 |
|
---|
97 | <VisualEffects>
|
---|
98 | <FontSmoothing>ClearType</FontSmoothing>
|
---|
99 | </VisualEffects>
|
---|
100 |
|
---|
101 | <OOBE>
|
---|
102 | <ProtectYourPC>3</ProtectYourPC>
|
---|
103 | <HideEULAPage>true</HideEULAPage>
|
---|
104 | <SkipUserOOBE>true</SkipUserOOBE>
|
---|
105 | <SkipMachineOOBE>true</SkipMachineOOBE>
|
---|
106 | <NetworkLocation>Home</NetworkLocation>
|
---|
107 | </OOBE>
|
---|
108 |
|
---|
109 | <FirstLogonCommands>
|
---|
110 | <SynchronousCommand wcm:action="add">
|
---|
111 | <Order>1</Order>
|
---|
112 | <Description>Turn Off Network Selection pop-up</Description>
|
---|
113 | <CommandLine>cmd /c reg add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff"</CommandLine>
|
---|
114 | </SynchronousCommand>
|
---|
115 | @@VBOX_COND_IS_INSTALLING_ADDITIONS@@
|
---|
116 | <!-- TODO: The following two commands can be combined. -->
|
---|
117 | <SynchronousCommand wcm:action="add">
|
---|
118 | <Order>2</Order>
|
---|
119 | <Description>Install Oracle certificate</Description>
|
---|
120 | <CommandLine>cmd /c for %i in (e:\cert\vbox*.cer) do certutil -addstore -f "TrustedPublisher" %i</CommandLine>
|
---|
121 | </SynchronousCommand>
|
---|
122 | <SynchronousCommand wcm:action="add">
|
---|
123 | <Order>3</Order>
|
---|
124 | <Description>Install VirtualBox Guest Additions</Description>
|
---|
125 | <CommandLine>e:\VBoxWindowsAdditions.exe /S</CommandLine>
|
---|
126 | </SynchronousCommand>
|
---|
127 | @@VBOX_COND_END@@
|
---|
128 | </FirstLogonCommands>
|
---|
129 |
|
---|
130 | <TimeZone>GMT Standard Time</TimeZone>
|
---|
131 | </component>
|
---|
132 |
|
---|
133 | </settings>
|
---|
134 | </unattend>
|
---|