Apply Updates to an Image Using DISM (Standard 7 SP1)
4/23/2013
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. |
-
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 of 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
Note: