Monday, January 3, 2011

Apply Updates to an Image Using DISM

  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

No comments:

Post a Comment