Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Autounattend.xml keeps asking to choose an operating system

answer file autounattend autounattend.xml silent installation windows seven

  • Please log in to reply
5 replies to this topic

#1
jks1976

jks1976
  • Member
  • 2 posts
  • Joined 20-October 13
  • OS:Windows 7 x64
  • Country: Country Flag

I am attempting to create an image for silent installation of Windows 7 Professional x64. I have created the  answer file as instructed from Step-by-Step: Basic Windows Deployment for IT Professionals page. I have placed the Autounattend.xml file in the root directory of the iso installation file. On installation the answer file is being detected but no matter what I try it keeps asking me to choose an operating system. Am I missing something? I am about to tear my hair out. Can anyone please help?

<?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="amd64" 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-AU</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>en-AU</UserLocale>
        </component>
        <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" 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">
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                    <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>
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                            <Letter>C</Letter>
                        </ModifyPartition>
                    </ModifyPartitions>
                </Disk>
                <WillShowUI>OnError</WillShowUI>
            </DiskConfiguration>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <Path>install.wim</Path>
                        <MetaData wcm:action="add">
                            <Key>/image/index</Key>
                            <Value>1</Value>
                        </MetaData>
                    </InstallFrom>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>2</PartitionID>
                    </InstallTo>
                    <InstallToAvailablePartition>false</InstallToAvailablePartition>
                    <WillShowUI>OnError</WillShowUI>
                </OSImage>
            </ImageInstall>
            <UserData>
                <AcceptEula>true</AcceptEula>
            </UserData>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" 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="amd64" 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>1</ProtectYourPC>
            </OOBE>
            <TimeZone>AUS Eastern Standard Time</TimeZone>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/windows7professional/sources/install.wim#Windows 7 Professional" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Attached Files




How to remove advertisement from MSFN

#2
351837

351837

    Newbie

  • Member
  • 15 posts
  • Joined 11-July 09
  • OS:Windows 7 x64
  • Country: Country Flag

Look here http://www.msfn.org/...seven-xml-here/

 

BTW try this:

 

<InstallFrom>
            <MetaData wcm:action="add">
              <Key>/IMAGE/NAME</Key>
              <value>Windows 7 PROFESSIONAL</value>
            </MetaData>
          </InstallFrom>


#3
jimathome

jimathome

    Newbie

  • Member
  • 17 posts
  • Joined 07-June 05
  • OS:Windows 7 x86
  • Country: Country Flag

You don't need "path" either unless it's on a network share. On first glance that's all I could see.

 

Delete this line:    <cpi:offlineImage cpi:source="wim:c:/windows7professional/sources/install.wim#Windows 7 Professional" xmlns:cpi="urn:schemas-microsoft-com:cpi" />



#4
jks1976

jks1976
  • Member
  • 2 posts
  • Joined 20-October 13
  • OS:Windows 7 x64
  • Country: Country Flag

Thanks guys! I tried both your suggestions but the problem persists.



#5
bbmak

bbmak

    Member

  • Member
  • PipPip
  • 111 posts
  • Joined 12-January 06

Are you using WDS to deploy? or You put them into a CD?

 

I have everything automatic with WDS setup with following in xml. If you are doing WDS, you need 2 xml files. I have never tried to put the image into the dvd. 

<WindowsDeploymentServices>
<ImageSelection>
                    <InstallImage>
                        <Filename>Windows 7 SP1 Ultimate Post Update.wim</Filename>
                        <ImageName>Windows 7 SP1 ULTIMATE x64 Post Update</ImageName>
                        <ImageGroup>Windows 7 SP1 Deployment x64 Post Update</ImageGroup>
                    </InstallImage>
</InstallImage>

Edited by bbmak, 22 October 2013 - 01:46 AM.


#6
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,889 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

what does your ei.cfg fie in sources say? for Ultimate it would be like this for a Retail

[EditionID]
Ultimate
[Channel]
Retail
[VL]
0

You can delete that file and remake iso if it contains anything but the Professional if that is a Pro dvd copy


Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users