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.
|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.|
- You have access to a Windows image (WIM) file that contains the Standard 7 image that you want to update.
- You have the Windows Update Package (.msu) file that you want to apply to your image.
- Get the index and Name of the windows version in a WIM file:
dism /get-wiminfo /wimfile:"d:\OS Images\install.wim"
- Create a directory on your development computer and mount your image to that directory by typing the following at the command prompt, replacing <mount_directory> with the directory you want to mount the image to, <wim_file> with the full path of your wim file, <image_number> with the index number of the image you want to mount in the wim file:
MD <mount_directory> DISM /Mount-Wim /WimFile: <wim_file> /Index: <image_number> /MountDir: <mount_directory>
- Apply the update package (.msu) file by typing the following at a command prompt, replacing <mount_directory> with the directory your image is mounted to and <msu_file> with the full path of the update file:
DISM /image: <mount_directory> /Add-Package /Packagepath: <msu_file>
- Unmount the image and commit your changes by typing the following at a command prompt, replacing <mount_directory> with the directory your image is mounted to:
DISM /Unmount-Wim /MountDir: <mount_directory> /Commit
Windows Update downloader
Creating an unattended Windows installation solved the installation portion of the problem but all of the updates needed to be manually downloaded before they could be integrated into the installation source. With the quantity of updates quickly approaching triple digits, it was clear something was needed to speed things up. This is where WUD comes along.
WUD allows you to download all of the current Windows Updates using a simple interface. All of the updates are contained in Update Lists (ULs) which allows you to choose which updates you want for which version of Windows. Once WUD has complete it’s downloads, you simply integrate them into your Windows source using one of the many popular tools such as nLite.
The Update Lists (ULs)
The Update Lists (ULs) contain the necessary list of updates for each of the versions of Windows listed below. You will also find ULs for other software such as Office and Exchange.
In order to use the ULs, they must be in the same folder as the Windows Updates Downloader program folder. WUD integrates itself in the shell in order to simplify installation of UL files. Simply download and install WUD first, run it once, then come back here to download the ULs which you want to use.
When presented with the option to open or save, simply open the UL and it will automatically install itself in the WUD program folder.
Update List: http://www.windowsupdatesdownloader.com/UpdateLists.aspx