Jump to content

Recommended Posts

Posted (edited)

I am using a USB-drive to boot from and to install Windows 2008R2 unattendedly (with autounattend at the rootdir of the pendrive), which is working fine.

I have 2 questions:

Because I do not want to alter the default install.wim, I am trying to use a supplemental data file (addons.wim) in the same folder as install.wim to add extra files and dirs to the installation:

<DataImage wcm:action="add">

<InstallFrom>

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

<MetaData wcm:action="add">

<Key>/IMAGE/NAME</Key>

<Value>addons</Value>

</MetaData>

</InstallFrom>

<Order>1</Order>

</DataImage>

Somehow I do not get any file that is inside te addons.wim fil to the drive where the OS is being installed.

So my first question is: what do I need inside the autounattend.xml file to get the addons.wim file to be read by the Windows PE phase and install those files to the drive where Windows is being installed.

I also like to add extra drivers to the addons.wim file, but I could only find info how to do that on the install.wim file:

Dism /mount-wim /wimfile:install.wim /index:1 /mountdir:d:\install

Dism /image:d:\install /add-driver /Driver:d:\drivers /recurse

dism /unmount-wim /mountdir:d:\install /commit

Doing the same to the addons.wim ends up with errors of course, because there is no OS inside that file, but is there a way around this? (for the same reason, I do not like the install.wim to be altered)

Thanks in advance

<edit>

I changed my concept, instead of using a second .WIM file, I now use the old fashion $OEM$ folders:

For my first question, I created a $OEM$\$1\ folder under the \Sources folder which now holds my add-on files.

And for the second one, I have created the $WinPEDriver$ folder on the USB-drive which holds the drivers now.

</edit>

Edited by arnieh

Posted

I'm looking at your DataImage XML example and compare it to my old one, and they do not compare properly. Of course mine was different source (using WDS) but maybe it will help you:

I never solved my issue as we went a different way to install Vista and now Windows 7 so we do not need DataImage anymore.

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