Exchange Server TechCenter > Exchange Server Forums > Deploy > Problems to select ImageName using Autounattend.xml in W2008 !!
Ask a questionAsk a question
 

AnswerProblems to select ImageName using Autounattend.xml in W2008 !!

  • Thursday, October 30, 2008 4:10 PMIvanZito Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    Hiii,

     

    I´m installing W2008 using DVD with Autounattend.xml file. ( It´s  very simple only you have to locate this file into root, where is the setup.exe )

     

    To do the file, I´m using Windows AIK and I configure this part like you can view here:

     

    Into the componet windwosPE:

    x86_Microsoft-Windows-Setup_neutral\WindowsDeployServices\ImageSelection\InstallImage

    I´m using the next configuration:

    Filename: install.wim
    ImageGroup:  -

    ImageName: Windows Longhorn SERVERENTERPRISE

     

    Using "imagex /info install.wim 2" , I have the next information to install.wim image, then I deduce that the correct image name  is  "Windows Longhorn SERVERENTERPRISE" and think that It`s  right.

     

    Show the image information:

     

    ----------------------------------------------------------------------------------------------------------------------------------------
    <IMAGE INDEX="2">
      <NAME>Windows Longhorn SERVERENTERPRISE</NAME>
      <DESCRIPTION>Windows Longhorn SERVERENTERPRISE</DESCRIPTION>
      <FLAGS>SERVERENTERPRISE</FLAGS>
      <WINDOWS>
        <ARCH>0</ARCH>
        <PRODUCTNAME>Microsoft« Windows« Operating System</PRODUCTNAME>
        <HAL>acpiapic</HAL>
        <PRODUCTTYPE>ServerNT</PRODUCTTYPE>
        <PRODUCTSUITE>Enterprise</PRODUCTSUITE>
        <LANGUAGES>
          <LANGUAGE>en-US</LANGUAGE>
          <DEFAULT>en-US</DEFAULT>
        </LANGUAGES>
        <VERSION>
          <MAJOR>6</MAJOR>
          <MINOR>0</MINOR>
          <BUILD>6001</BUILD>
          <SPBUILD>18000</SPBUILD>
        </VERSION>
        <SYSTEMROOT>WINDOWS</SYSTEMROOT>
      </WINDOWS>
      <DIRCOUNT>7311</DIRCOUNT>
      <FILECOUNT>38045</FILECOUNT>
      <TOTALBYTES>5931663138</TOTALBYTES>
      <CREATIONTIME>
        <HIGHPART>0x01C85A95</HIGHPART>
        <LOWPART>0xEFF686A7</LOWPART>
      </CREATIONTIME>
      <LASTMODIFICATIONTIME>
        <HIGHPART>0x01C85A9F</HIGHPART>
        <LOWPART>0x34D8A0AF</LOWPART>
      </LASTMODIFICATIONTIME>
      <DISPLAYNAME>Windows Server 2008 Enterprise (Full Installation)</DISPLAYNAME>
      <DISPLAYDESCRIPTION>This option installs the complete installation of Windows Serve
     interface, and it supports all of the server roles.</DISPLAYDESCRIPTION>
    </IMAGE>

     

    -----------------------------------------------------------------------------------------

     

    the autounattend.xml file, is so:

    -----------------------------------------------------------------------------------------

     

     

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urnTongue Tiedchemas-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">
                <ComplianceCheck>
                    <DisplayReport>Never</DisplayReport>
                </ComplianceCheck>
                <ImageInstall>
                    <OSImage>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>1</PartitionID>
                        </InstallTo>
                    </OSImage>
                </ImageInstall>
                <UserData>
                    <!-- Clave de producto -->
                    <ProductKey>
                        <WillShowUI>OnError</WillShowUI>
                        <Key>7QQ37-Q4BH3-84DF4-XFCRB-XVKGK</Key>
                    </ProductKey>
                    <AcceptEula>true</AcceptEula>
                    <Organization>acens</Organization>
                    <!-- Full Name miservidor.dedi -->
                    <FullName>Laboratorio1</FullName>
                </UserData>
                <WindowsDeploymentServices>
                    <Login>
                        <WillShowUI>OnError</WillShowUI>
                    </Login>
                    <ImageSelection>
                        <InstallImage>
                            <Filename>install.wim</Filename>
                            <!-- imagen de servidor -->
                            <ImageName>Windows Longhorn SERVERENTERPRISE</ImageName>
                            <ImageGroup></ImageGroup>
                        </InstallImage>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>1</PartitionID>
                        </InstallTo>
                    </ImageSelection>
                </WindowsDeploymentServices>
            </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>
                    <!-- idioma y configuración de teclado ( en-us o es-es ) -->
                    <UILanguage>en-us</UILanguage>
                </SetupUILanguage>
                <InputLocale>0409:00000409</InputLocale>
                <SystemLocale>en-us</SystemLocale>
                <UILanguage>en-us</UILanguage>
                <UserLocale>en-us</UserLocale>
            </component>
        </settings>
        <settings pass="specialize">
            <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">
                <!-- hostname de la maquina -->
                <ComputerName>prueba1</ComputerName>
                <!-- Configuración regional, zona horaria -->
                <TimeZone>Romance Standard Time</TimeZone>
            </component>
            <component name="Networking-MPSSVC-Svc" 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">
                <PublicProfile_EnableFirewall>false</PublicProfile_EnableFirewall>
            </component>
        </settings>
        <cpiSurprisefflineImage cpiTongue Tiedource="wim://pc-iruiz/instala/w2008_x32_en/sources/install.wim#Windows Longhorn SERVERSTANDARD" xmlns:cpi="urnTongue Tiedchemas-microsoft-com:cpi" />
    </unattend>

    -----------------------------------------------------------------------------------------

    All instalation is right, but only one part is not unattend, when I have to select the operating system:

     

    ###### Select Operating system you want to install  ###############

     

    -Windows Server 2008 Enterprise (Full Installation )       X86

    -Windows Server 2008 Enterprise ( Server Core Installation )    X86

     

    ####################################################

    -----------------------------------------------------------------------------------------

     

    I need help

    Thank, Iván

    www.ivanzito.com

     

Answers

  • Thursday, October 30, 2008 4:27 PMAmit TankMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi Ivan,

     

    This is Exchange Server – Deploy forum, suggest you to post your query in Windows 2008 forum to get better responses from product experts.

     

    Windows 2008 Forum: http://social.technet.microsoft.com/Forums/en/winserversetup/threads/

  • Thursday, October 30, 2008 5:18 PMIvanZito Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    ok I agree, look up this:

     

    <OSImage>
    <InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>1</PartitionID>
    </InstallTo>
    <image>
    <name wcm:keyValue="Windows Longhorn SERVERENTERPRISE"></name>
    </image>
    </OSImage>

     

    But I recived the next message:

     

    Windows could not parse or process unattend answer file [A:\autounattend.xml] for pass []windowsPE]. A component or setting specifies in the answer file does not exist

     

    ahh ... I can not use the rigth button to add:

     

    <image>
    <name wcm:keyValue="Windows Longhorn SERVERENTERPRISE"></name>
    </image>


     

    I have not the option, I´m editing the file manually.

     

    I can use 2 options:  "key" or "value" but it does not work.

     

    Note to admin forum: I´m sorry the next topic I will write in other place.

     

     

    ----------------

     

    I have find in Internet something ...  It is the solution

     

    <OSImage>
                        <InstallFrom>
                            <MetaData wcm:action="add">
                                <Key>/IMAGE/NAME</Key>
                                <Value>Windows Longhorn SERVERENTERPRISE</Value>
                            </MetaData>
                        </InstallFrom>
                        <InstallToAvailablePartition>false</InstallToAvailablePartition>
                        <WillShowUI>OnError</WillShowUI>
    </OSImage>

     

    thank you very much ... bobDanish

All Replies

  • Thursday, October 30, 2008 4:23 PMJoeyM Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    Iván,

     

    I think you're specifying the image you want to install in the wrong area.  The WindowsDeploymentServices Image Selection area is only for specifying settings for connecting to a Windows Deployment Services server, that's why there's and Image Group field.

     

      I think you want to specify your image to install in the ImageInstall/OSimage section.  Just make sure when you fill in the KEY under METADATA that you choose the right option (/IMAGE/INDEX, /IMAGE/NAME, or /IMAGE/DESCRIPTION). 

     

     

     

     

  • Thursday, October 30, 2008 4:27 PMAmit TankMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi Ivan,

     

    This is Exchange Server – Deploy forum, suggest you to post your query in Windows 2008 forum to get better responses from product experts.

     

    Windows 2008 Forum: http://social.technet.microsoft.com/Forums/en/winserversetup/threads/

  • Thursday, October 30, 2008 5:18 PMIvanZito Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    ok I agree, look up this:

     

    <OSImage>
    <InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>1</PartitionID>
    </InstallTo>
    <image>
    <name wcm:keyValue="Windows Longhorn SERVERENTERPRISE"></name>
    </image>
    </OSImage>

     

    But I recived the next message:

     

    Windows could not parse or process unattend answer file [A:\autounattend.xml] for pass []windowsPE]. A component or setting specifies in the answer file does not exist

     

    ahh ... I can not use the rigth button to add:

     

    <image>
    <name wcm:keyValue="Windows Longhorn SERVERENTERPRISE"></name>
    </image>


     

    I have not the option, I´m editing the file manually.

     

    I can use 2 options:  "key" or "value" but it does not work.

     

    Note to admin forum: I´m sorry the next topic I will write in other place.

     

     

    ----------------

     

    I have find in Internet something ...  It is the solution

     

    <OSImage>
                        <InstallFrom>
                            <MetaData wcm:action="add">
                                <Key>/IMAGE/NAME</Key>
                                <Value>Windows Longhorn SERVERENTERPRISE</Value>
                            </MetaData>
                        </InstallFrom>
                        <InstallToAvailablePartition>false</InstallToAvailablePartition>
                        <WillShowUI>OnError</WillShowUI>
    </OSImage>

     

    thank you very much ... bobDanish

  • Monday, November 02, 2009 11:32 AMilavazhagu Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi,

    I am creating a Autoattened.xml for installing Windows server 2008 OS. I can able to automate expect the below

    ###### Select Operating system you want to install  ###############

     -Windows Server 2008 Enterprise (Full Installation )       X86

    -Windows Server 2008 Enterprise ( Server Core Installation )    X86

     ####################################################

    Can you please help me on this ?

    Regards,
    Ella