MetaData

If you are deploying an operating system image directly from a DVD, you must specify the location of that image within the WIM file on the DVD. In the WIM file, this information is organized like this:

<WIM>

<IMAGE INDEX="2">

<NAME>MyWIM</NAME>

<DESCRIPTION>MyCustomWindowsImage</DESCRIPTION>

</IMAGE>

</WIM>

In the unattend.xml file, the image information is specified in the <MetaData> element in the Microsoft-Windows-Setup component hierarchy under <settings pass=”WindowsPE”>. For example:

<MetaData>

<Key>/IMAGE/INDEX</Key>

<Value>2</Value>

</MetaData>

The <Key> element indicates which data item in the WIM file to match. It can be any of the following:

The <Value> element indicates what the value of this data item should be. Here, the image to be deployed has an IMAGE/INDEX value of 2 in the WIM file.

You can extract a list of the images in a WIM file by using the following command:

imagex /info WIMFileName > c:\info.txt

Here, WIMFileName is the name of the WIM file (for example, install.wim). Be sure to redirect the output of the command to a text file (as shown here) so that you can easily search through the results.

For more information, see the MetaData topic in the Unattend.chm help file included in the Windows AIK.


© 2003 - 2012 Hewlett-Packard Development Company, L.P.