2 out of 2 rated this helpful Rate this topic

Apply Updates to an Image Using DISM

9/25/2011

Although the recommended method of applying packages and updates to a Windows Embedded Standard 7 image is by creating a Configuration Set and then using Deployment Imaging Servicing and Management (DISM) to install that configuration set, DISM can be used to install individual updates to an image as well. This method some additional risks and is not recommended.

Ff794819.note(en-US,WinEmbedded.60).gifNote:
You can only use DISM to apply an .msu file to an offline image. For online images, you must use Windows Update Standalone Installer or create a configuration set or answer file for use with DISM.
  • You have access to a Windows Image (WIM) file containing the Standard 7 image you want to update.
  • You have the Windows Update Package (.msu) file you wish to apply to your image.
  1. Create a directory on your development computer and mount your image to that directory by typing the following at the a command prompt:

    MD C:\MyDir\Mount
    DISM \Mount-Wim /Wimfile:E:\images\myimage.wim /index:1 /Mountdir:C:\MyDir\Mount
    
  2. Apply the update package (.msu) file by typing the following at a command prompt, replacing <file_path> with the full path to the configuration set:

    DISM /image:C:\MyDir\Mount /Add-Package /Packagepath:<file_path>
    
  3. Unmount the image and commit your changes by typing the following at a command prompt:

    DISM /Unmount-Wim /Mountdir:C:\MyDir\Mount /Commit
    
Did you find this helpful?
(1500 characters remaining)