VirtualBox

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

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

UnattendedScript: Converted windows sif template to the mad libs class. Fixed template properties.

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

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