Jump to content

Autounattend.xml <installfrom> section issue


Recommended Posts

Posted (edited)

I am rebuilding my Autounattend.xml right now and I can't seem to figure it out what is the correct value for the <Key> string

Technet gives the default value as <Key>/IMAGE/NAME</Key>, but I'm pretty sure i have to insert the image index number, 5 in my case as I'm installing Windows 7 Ultimate. What do they mean by "/IMAGE/NAME"? Should I enter the path to the install.wim like: /source/install.wim.

Technet documentation is very ambigous.

The following table shows the Key and Value pairs that should be used to correspond to the metadata in the sample .wim file output.

Key Value

/IMAGE/INDEX

1

/IMAGE/NAME FabrikamWIM

/IMAGE/DESCRIPTION FabrikamCustomWindowsImage

My Autounattended.xml looks like this:

<ImageInstall>

<ImageInstall>

<DataImage wcm:action="add">

<InstallFrom>

<MetaData wcm:action="add">

<Key>5</Key>

<Value>Windows 7 ULTIMATE</Value>

</MetaData>

<Path>\sources\install.wim</Path>

</InstallFrom>

<Order>1</Order>

</DataImage>

</ImageInstall>

I put 5 as Ultimate is indexed as the 5th image inside install.wim.

Is this correct?

Thank you

Edited by atolica

Posted

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

Posted (edited)

I'm not interested in samples. I want a straight answer to a straight question.

/IMAGE/NAME is a variable. It has to replaced with the image used for installation(ultimate, prof etc), in my case 5.

Someone please confirm this!

Edited by atolica
Posted (edited)

Well use Technet advice, MS Never been wrong my arse

you trying to install and using wrong stuff DataImage.

DataImage specifies a data image to install. You can add additional data on top of a Windows operating system image, by using a data image. Data images can include applications, device drivers, and other configuration files. You can create a data image, by using ImageX

http://www.microsoft.com/downloads/details.aspx?familyid=F1BAE135-4190-4D7C-B193-19123141EDAA&displaylang=en#QuickInfoContainer

Thats link to latest Windows Automated Installation Kit for Windows 7 documentation (October 2009 Update)

Open Unattend.chm and look at it closely for the ImageInstall

I've done 100's of actual install's and not VM. I gave that link as a sample file and you can ask ? there if needed.

Don't believe what I'm saying and keep pulling your hair out.

Edited by maxXPsoft
Posted (edited)

Here it is in the Unattend.chm

Key Value

if you use the /IMAGE/INDEX then you use the Value 1

EDIT: Value 5 in your case

Edited by maxXPsoft
Posted

Yes, I start to remember.

MS f***ups, 2 year olds must've wrote that documentation. I didn't figure it out the relation between <key> and <value>, although I've already done this before but several months ago.

Thank you.

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