Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to manually apply hotfixes to the preinstall environment on the Windows installation disc


View products that this article applies to.

Summary

In some cases, you may need to apply hotfixes to the Windows 7 or Server 2008 R2 preinstallation environment. This article describes the basic process to do this.

↑ Back to the top


More information

When you boot a computer using the Windows installation media, the Windows preinstall environment is loaded from a file called boot.wim. If you need to apply hotfixes to the preinstall environment itself, you need to manually modify the boot.wim file.

Expand the Hotfix Package

Extract the hotfixed binaries from the hotfix file. You can extract files from .msu or .cab files by using the expand.exe command provided with Windows Vista or later.

For more information about how to extract updated binaries from hotfix packages, click the following article number to view the article in the Microsoft Knowledge Base:

928636 You cannot extract the contents of a Microsoft Update Standalone Package for Windows Vista

Modify the Boot.wim File 

Before you follow these steps, install the Windows 7 OEM Preinstallation Kit (OPK), which is available in the following download:

Windows 7 OEM Preinstallation Kit (OPK)

  1. Open the deployment tools command prompt with Administrator privileges.
  2. Create a temporary directory named SetupDVD by using the following commands:
    md SetupDVD
    cd SetupDVD
  3. Copy the Boot.wim file from the operating system that you are modifying to the SetupDVD folder.
  4. Make a directory to mount the Wim file by using the following command:
    md mount
  5. Use the imagex command to mount the Boot.wim file into a subfolder called mount:
    imagex /mountrw boot.wim 2 .\mount
  6. Copy the updated files to the appropriate directories under the mount folder.
  7. Use the imagex command to unmount the Boot.wim file and commit the changes:
    imagex /unmount /commit .\mount

Modify the DVD content

  1. Make a folder named Dvd, and then copy the contents of the Windows setup DVD to the Dvd folder. For example, you can use the following commands:
    md \dvd
    xcopy X:\*.* \dvd /e
    Note: In these commands, the X represents the letter of the DVD drive.
  2. Copy the modified Boot.wim files to the Dvd folder on the hard disk:
    copy \setupdvd\boot.wim \dvd\sources

Create an updated DVD image

You can use the oscdimg command to create an International Standards Organization (ISO) file of the Dvd folder and to make the image a UEFI-bootable image. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

947024 How to create an ISO image for UEFI platforms for a Windows PE CD-ROM for Windows Server 2008

After you create the image, burn it to a DVD.

↑ Back to the top


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

↑ Back to the top


Keywords: KB2011542

↑ Back to the top

Article Info
Article ID : 2011542
Revision : 1
Created on : 12/22/2009
Published on : 12/22/2009
Exists online : False
Views : 467