MSFN Forum: another Windows 7 Autounattend.xml problem - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

another Windows 7 Autounattend.xml problem

#1 User is offline   rexnorthwood 

  • Group: Members
  • Posts: 4
  • Joined: 02-November 09

Posted 02 November 2009 - 11:35 PM

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.


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

This post has been edited by rexnorthwood: 03 November 2009 - 02:31 PM



#2 User is offline   rexnorthwood 

  • Group: Members
  • Posts: 4
  • Joined: 02-November 09

Posted 04 November 2009 - 09:03 AM

OK, i figured this out on my own, so nevermind.

#3 User is offline   jbm 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 626
  • Joined: 16-September 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 November 2009 - 10:35 PM

View Postrexnorthwood, on Nov 4 2009, 09:03 AM, said:

OK, i figured this out on my own, so nevermind.


I'd like to know what the problem was

#4 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 November 2009 - 07:41 AM

View Postjbm, on Nov 4 2009, 10:35 PM, said:

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>

#5 User is offline   rexnorthwood 

  • Group: Members
  • Posts: 4
  • Joined: 02-November 09

Posted 05 November 2009 - 11:16 AM

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

#6 User is online   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,000
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 November 2009 - 11:56 AM

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.


#7 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 November 2009 - 09:23 AM

View Postrexnorthwood, on Nov 5 2009, 11:16 AM, said:

Nope!

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

#8 User is offline   rexnorthwood 

  • Group: Members
  • Posts: 4
  • Joined: 02-November 09

Posted 18 November 2009 - 01:34 PM

View PostmaxXPsoft, on Nov 6 2009, 09:23 AM, said:

View Postrexnorthwood, on Nov 5 2009, 11:16 AM, said:

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy