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.
Note: |
|---|
| 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. |
-
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
-
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>
-
Unmount the image and commit your changes by typing the following at a command prompt:
DISM /Unmount-Wim /Mountdir:C:\MyDir\Mount /Commit
