VirtualBox

source: vbox/trunk/src/VBox/Main/UnattendedTemplates/win_nt6_unattended.xml@ 68071

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

Unattended: Split out the post installation script into a separate file. Dropped the IUnattended::loadSettings method, don't see much point. Simplified the script editor classes, moving the default filenames and templates to the installer constructor, allowing us to avoid having to 'new' the script editors. The editors are now direct members of UnattendedInstaller.

  • Property svn:eol-style set to CRLF
  • Property svn:keywords set to Author Date Id Revision
File size: 5.6 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 <SynchronousCommand wcm:action="add">
129 <Order>2</Order>
130 <Description>VirtualBox post guest install steps </Description>
131 <CommandLine>cmd.exe /c A:\vboxpost.cmd</CommandLine>
132 </SynchronousCommand>
133 </FirstLogonCommands>
134
135 <TimeZone>GMT Standard Time</TimeZone>
136 </component>
137
138 </settings>
139</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