首先,我们先把下载到的 Hyper-V RTM 更新补丁包解开。
expand -F:* Windows6.0-KB-950050-x64.msu C:\950050
然后,将 Windows Server 2008 安装盘中"Sources" 目录下的"Install.wim"文件拷贝到本地磁盘上。我们可以使用 "imagex /info" 来查看该安装映像的信息,以获取每个安装版本,如:Standard Full、Enterprise Full、Datacenter Full 以及 Core 所对应的标示号码(WIM Image Index)。
要将 Hyper-V RTM 集成到 WIM 映像前,需要在当前系统中加载 WIM,为此:
imagex /mountrw c:\ws08\sources\install.wim 〈WIM Image Index〉 c:\mount
然后,使用 pkgmgr 将更新补丁集成到安装源映像中。
start /w pkgmgr /ip /m:C:\950050\Windows6.0-KB950050-x64.cab /o:C:\mount;C:\mount\windows
最后,从系统中 unmount 该映像,并将修改写入到映像文件。
imagex /unmount /commit C:\mount