Jump to content

[Solved] Need Help Checking My Autounattend.xml File


Recommended Posts

Hi, could someone please have a look over my Autounattend file, as I seem to fail to install at the Completing Installation stage.

Thank You.

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<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-US</UILanguage>
</SetupUILanguage>
<InputLocale>0409:00000409</InputLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>en-US</SystemLocale>
<UserLocale>en-US</UserLocale>
</component>
<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">
<UserData>
<ProductKey>
<WillShowUI>OnError</WillShowUI>
<Key>Removed</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>Nurple</FullName>
</UserData>
<Display>
<ColorDepth>32</ColorDepth>
<RefreshRate>60</RefreshRate>
<HorizontalResolution>1440</HorizontalResolution>
<VerticalResolution>900</VerticalResolution>
</Display>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows Vista Ultimate</Value>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<component name="Security-Malware-Windows-Defender" 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">
<DisableAntiSpyware>true</DisableAntiSpyware>
</component>
<component name="Microsoft-Windows-SystemRestore-Main" 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">
<DisableSR>1</DisableSR>
</component>
<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">
<ComputerName>Home-PC</ComputerName>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" 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">
<SearchScopes>
<Scope wcm:action="add">
<ScopeDefault>true</ScopeDefault>
<ScopeDisplayName>Google UK</ScopeDisplayName>
<ScopeKey>Google UK</ScopeKey>
<ScopeUrl>http://www.google.co.uk</ScopeUrl>
</Scope>
</SearchScopes>
<Home_Page>about:blank</Home_Page>
<BlockPopups>yes</BlockPopups>
<PlaySound>false</PlaySound>
</component>
<component name="Microsoft-Windows-ErrorReportingCore" 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">
<DisableWER>1</DisableWER>
</component>
<component name="Microsoft-Windows-TCPIP" 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">
<Interfaces>
<Interface wcm:action="add">
<Ipv4Settings>
<DhcpEnabled>false</DhcpEnabled>
</Ipv4Settings>
<Ipv6Settings>
<DhcpEnabled>false</DhcpEnabled>
</Ipv6Settings>
<UnicastIpAddresses>
<IpAddress wcm:action="add" wcm:keyValue="1">192.168.1.5</IpAddress>
</UnicastIpAddresses>
<Routes>
<Route wcm:action="add">
<Identifier>0</Identifier>
<Prefix>0.0.0.0/0</Prefix>
<NextHopAddress>192.168.1.1</NextHopAddress>
</Route>
</Routes>
<Identifier>VirginMedia</Identifier>
</Interface>
</Interfaces>
</component>
<component name="Microsoft-Windows-DNS-Client" 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">
<Interfaces>
<Interface wcm:action="add">
<DNSServerSearchOrder>
<IpAddress wcm:action="add" wcm:keyValue="1">62.30.112.39</IpAddress>
<IpAddress wcm:action="add" wcm:keyValue="2">194.117.134.19</IpAddress>
<IpAddress wcm:action="add" wcm:keyValue="3">62.30.0.39</IpAddress>
</DNSServerSearchOrder>
<Identifier>VirginMedia</Identifier>
</Interface>
</Interfaces>
</component>
<component name="Microsoft-Windows-RemoteAssistance-Exe" 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">
<fAllowFullControl>false</fAllowFullControl>
<fAllowToGetHelp>false</fAllowToGetHelp>
<MaxTicketExpiry>1</MaxTicketExpiry>
</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">
<Display>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
<HorizontalResolution>1440</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>900</VerticalResolution>
</Display>
<TimeZone>GMT Standard Time</TimeZone>
<ShowWindowsLive>false</ShowWindowsLive>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Group>Administrators</Group>
<Name>Nurple</Name>
<DisplayName>Nurple</DisplayName>
</LocalAccount>
<LocalAccount wcm:action="add">
<Group>Users</Group>
<Name>Mooty</Name>
<DisplayName>Mooty</DisplayName>
</LocalAccount>
<LocalAccount wcm:action="add">
<DisplayName>Tooty</DisplayName>
<Group>Users</Group>
<Name>Tooty</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
<component name="Microsoft-Windows-Sidebar" 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">
<SidebarVisible>false</SidebarVisible>
<SidebarOnByDefault>false</SidebarOnByDefault>
<Gadget3 />
<Gadget2 />
<Gadget1 />
</component>
<component name="Microsoft-Windows-International-Core" 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">
<InputLocale>0x00000809</InputLocale>
<SystemLocale>en-GB</SystemLocale>
<UserLocale>en-GB</UserLocale>
<UILanguage>en-GB</UILanguage>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/users/mooty/documents/vistastuff/iso_files/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Edited by Nurple
Link to comment
Share on other sites


Dunno but you seem to have many unnecessary or blank fields in your xml? Did you use the waik/wsim tools to produce this? If so is it the latest version?

Did you use the help function truly is a great guide in populating the fields?

My advice is to start off with the basics & once mastered then include more...just my opinion.

Link to comment
Share on other sites

Hi, I used the latest WSIM, and created a basic Autounattend, and it worked fine, so thought I'd add more bits, getting help from the "Unattended Windows Setup Reference".

Not sure about the many blank, and unnecessary fields, I can only see a few blank ones, but then I'm new to this, so I'm more likely not seeing it.

Thanks for your help.

Edited by Nurple
Link to comment
Share on other sites

Yeah, those were the bits I noticed, I've removed them, and will do the other bit you mention, and will try it again.

I did do it all with WSIM, so does that mess up sometimes ?, like adding that space in cpi" />, and can blanks make the install fail?, I just stupidly assumed it would ignore them, that will teach me.

Thank you.

Edited by Nurple
Link to comment
Share on other sites

No go, tried it again without the blanks, and the space, but still fails, so I'm going to try it again adding a bit at a time.

Thanks for the help, I shan't bother bugging you any more :P I gotta learn myself.

Update:

I know I wasn't going to say anything else, but I redid it all again, but left out the ip/dns bits, and it worked fine, but when I added that back it failed in the same place, so gotta be one of them two messing me up, will try and find out what it is I'm doing wrong.

Edited by Nurple
Link to comment
Share on other sites

To be honest I'm not to sure, I kept looking over my working xml, and the old one, but apart from different ips, and identifiers, I can't see what's different.

This is the working section;

		<component name="Microsoft-Windows-DNS-Client" 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">
<Interfaces>
<Interface wcm:action="add">
<DNSServerSearchOrder>
<IpAddress wcm:action="add" wcm:keyValue="1">62.30.112.39</IpAddress>
<IpAddress wcm:action="add" wcm:keyValue="2">194.117.134.19</IpAddress>
<IpAddress wcm:action="add" wcm:keyValue="3">62.30.0.39</IpAddress>
</DNSServerSearchOrder>
<Identifier>Local Area Connection</Identifier>
</Interface>
</Interfaces>
</component>
<component name="Microsoft-Windows-TCPIP" 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">
<Interfaces>
<Interface wcm:action="add">
<Ipv4Settings>
<DhcpEnabled>false</DhcpEnabled>
</Ipv4Settings>
<Identifier>Local Area Connection</Identifier>
<UnicastIpAddresses>
<IpAddress wcm:action="add" wcm:keyValue="1">192.168.1.10/24</IpAddress>
</UnicastIpAddresses>
<Routes>
<Route wcm:action="add">
<Identifier>0</Identifier>
<NextHopAddress>192.168.1.1</NextHopAddress>
<Prefix>0.0.0.0/0</Prefix>
</Route>
</Routes>
</Interface>
</Interfaces>
</component>

Edited by Nurple
Link to comment
Share on other sites

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...