Tuesday, 23 June 2015

OS Deployment and Imaging

The DISM method

To integrate packages into an image by using the DISM method, follow these steps:

1.Download the standalone package for the update or updates that you want to integrate.
2.Create a new directory to expand the update package.
3.Extract the update package by using the following command:

expand -f:* <path to .msu> <destination>

  For example, the following command expands update 2959977 to the C:\Cabs folder:

expand -f:* Windows8.1-KB2939087-x64.msu C:\Cabs

4.Integrate the expanded cabinet (.cab) file into the image from the expanded package by using the following command:

DISM /Online /Add-Package /PackagePath:<path to extracted .cab file from step 3>

  For example, the command to integrate the update 2959977 .cab file would be as follows:

DISM /Online /Add-Package /PackagePath:c:\cabs\Windows8.1-KB2959977-x64.cab

No comments:

Post a Comment