Help - Search - Members - Calendar
Full Version: another Windows 7 Autounattend.xml problem
MSFN Forums > Unattended Windows Discussion & Support > Unattended Windows 7/Server 2008R2

   


Google Internet Forums Unattended CD/DVD Guide
rexnorthwood
I have fowed the sample provided in the WAIK for the minimum but setup always stops to ask for the product to install to format the disk... I am using a valid product key...

Any ideas what I am doing wrong here?

Any and all assistance is greatly apreciated.


CODE
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<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>
<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>
<HideEULAPage>true</HideEULAPage>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
</component>
</settings>
<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>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<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">
<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>100</Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Extend>true</Extend>
<Order>2</Order>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Format>NTFS</Format>
<Label>System</Label>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Format>NTFS</Format>
<Label>Windows</Label>
<Order>2</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>2</PartitionID>
</InstallTo>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
<UserData>
<ProductKey>
<WillShowUI>Never</WillShowUI>
<Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
</UserData>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:d:/win7source/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
rexnorthwood
OK, i figured this out on my own, so nevermind.
jbm
QUOTE (rexnorthwood @ Nov 4 2009, 09:03 AM) *
OK, i figured this out on my own, so nevermind.


I'd like to know what the problem was

maxXPsoft
QUOTE (jbm @ Nov 4 2009, 10:35 PM) *
I'd like to know what the problem was

<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 ULTIMATE</Value>
</MetaData>
</InstallFrom>

</OSImage>
rexnorthwood
Nope!

The problem was I am installing 64-bit OS.

I had selected x86 components, and my product key matches 64-bit version.

I opened my Autunattend.xml in notepad and did a find/replace for x86 and replaced with amd64.

Simple enough.


The problems I have here is that MS does not have appeared to have this documented -Why not? and Why is the tag still "amd64"? (yes I know the historical reason)

And this is all rhetorical.

THANKS


cluberti
You already know, but for posterity I'll reply for others that do not - amd64 was the build tree for the first 64bit versions of Windows that were not based on the Itanium (ia64), and was the technical name for the architecture before it was changed to the more vendor-agnostic x86_64. As to documentation, it's in the Windows AIK User's Guide, under the "Understanding Settings and Properties" section:
QUOTE
ProcessorArchitecture
Specifies the processor architecture of the component or package. Some valid values include x86, ia64, amd64, wow64, and msil.
maxXPsoft
QUOTE (rexnorthwood @ Nov 5 2009, 11:16 AM) *
Nope!

don't matter, you will still need what I showed for it to Not Stop...
rexnorthwood
QUOTE (maxXPsoft @ Nov 6 2009, 09:23 AM) *
QUOTE (rexnorthwood @ Nov 5 2009, 11:16 AM) *
Nope!

don't matter, you will still need what I showed for it to Not Stop...


I did not NEED what you posted.... I don't know for sure, but I presume because I have a CD key for Ultimate it installed just fine without your addition.

Thanks anyway




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.