Jump to content

Recommended Posts

Posted (edited)

G'day, a little about the indended use of this first.

I work in a Retail Computer store, we pre-install various OS's onto Custom Built PCs. This is my first attempt at creating an unattended install so please bare with me.

I'm looking to create an Autounattend.xml for Vista Home Basic, and one later for Vista Home Premium, as those are the 2 most commonly requested OS's atm.

I need to set

- the defaults to en-AU for everything except the Input which is a standard qwerty keyboard so that's en-US

- the partition to fill the HDD(most of our systems are 1 HDD for HU/SOHO PCs)

- the system to boot into Audit mode so that I can install Apps and Drivers

- when I reseal the system for it to ask for CD-Key from the User

So Far I have this:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Extend>true</Extend>
<Order>1</Order>
<Size>20000</Size>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>true</Extend>
<Format>NTFS</Format>
<Label>OS_Install</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
<UserData>
<ProductKey>
<Key>Product key</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<AcceptEula>true</AcceptEula>
</UserData>
</component>
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SetupUILanguage>
<UILanguage>en-AU</UILanguage>
</SetupUILanguage>
<InputLocale>en-US</InputLocale>
<SystemLocale>en-AU</SystemLocale>
<UILanguage>en-AU</UILanguage>
<UserLocale>en-AU</UserLocale>
<UILanguageFallback>en-US</UILanguageFallback>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<ProtectYourPC>1</ProtectYourPC>
<NetworkLocation>Work</NetworkLocation>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<AutoLogon>
<Enabled>true</Enabled>
<LogonCount>5</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<TimeZone>E. Australia Standard Time</TimeZone>
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Reseal>
<Mode>Audit</Mode>
</Reseal>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/vistadvd/sources/install.wim#Windows Vista HOMEBASIC" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

What else do I need?

This DOES NOT seem too work. It still asks me about Location Settings(however it does fill in the en-AU details), and also still asks about HDD setup.

Edited by accc

Posted (edited)

As far as setting your locale & fallback etc, also being from aus did use same settings but had nothing but trouble as well unless off course you set enUS??

Don't know why maybe a minor bug in Vista??

I've also experienced even setting correct timezone in the xml, the time is in fact out quite a bit following setup, maybe to do with locale setting also??

Edited by MAVERICKS CHOICE
Posted

MC

My time is allways 2 hours ahead after a setup and I'm using enUS and my Timezone and an English Vista version. You must make sure you set all that to version of Vista you have I read. I reboot into XP and same there, my XP time is 2 hours ahead. Strange stuff. Course now I get to deal with a change in our Daylight Savings dates so add's more.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...