Apply Updates to an Image Using DISM (Standard 7 SP1)

7/8/2014

To apply packages and updates to a Windows Embedded Standard 7 image, we recommend creating a configuration set and then using Deployment Imaging Servicing and Management (DISM) to install that configuration set. Although DISM can be used to install individual updates to an image, this method carries some additional risks and is not recommended.

Note

You can use DISM to apply an .msu file to an offline image only. For online images, you must use Windows Update Standalone Installer or create a configuration set or answer file for use with DISM.

Hardware and Software Assumptions

  • You have access to a Windows image (WIM) file that contains the Standard 7 image that you want to update.
  • You have the Windows Update Package (.msu) file that you want to apply to your image.

Apply an update package to an offline image

  1. Create a directory on your development computer and mount your image to that directory by typing the following at the command prompt, replacing <mount_directory> with the directory you want to mount the image to, <wim_file> with the full path of your wim file, <image_number> with the index number of the image you want to mount in the wim file:

    MD <mount_directory>
    DISM /Mount-Wim /WimFile: <wim_file> /Index: <image_number> /MountDir: <mount_directory>
    
  2. Apply the update package (.msu) file by typing the following at a command prompt, replacing <mount_directory> with the directory your image is mounted to and <msu_file> with the full path of the update file:

    DISM /image: <mount_directory> /Add-Package /Packagepath: <msu_file>
    
  3. Unmount the image and commit your changes by typing the following at a command prompt, replacing <mount_directory> with the directory your image is mounted to:

    DISM /Unmount-Wim /MountDir: <mount_directory> /Commit
    

See Also

Tasks

Maintain an Image Using a Configuration Set and DISM
Add Microsoft Updates to an Image Using Windows Update Standalone Installer

Concepts

Add Updates to an Answer File using Image Configuration Editor