For example, consider the following scenario:
- On a computer that is running Windows Vista, you create a C:\Temp folder.
- You download the following hotfix packages to this folder:
- You run the following commands to expand the hotfix packages:c:\temp>expand c:\temp\Windows6.0-KB929761-x86.msu -F:Windows6.0-KB929761-x86.cab c:\temp
c:\temp>expand c:\temp\Windows6.0-KB932590-x86.msu -F:Windows6.0-KB932590-x86.cab c:\temp
- You run the following commands to install the packages:start /w Pkgmgr /ip /m:c:\temp\Windows6.0-KB929761-x86.cab
start /w Pkgmgr /ip /m:c:\temp\Windows6.0-KB932590-x86.cab
When this problem occurs, information that resembles the following may appear in the Cbs.log file:In this example Cbs.log file, Package Manager indicates that it will install the .cab file for hotfix 932590. However, it actually installs the Package_1_for_KB929761~31bf3856ad364e35~x86~~184.108.40.206 package. This is the hotfix 929761 package.
Note This problem also applies to Windows Server 2008.
Expand each package to different folder before you installing them with pkgmgr. To do this, type the following commands at a command prompt:
Start /w pkgmgr /ip /m:c:\temp\CabFile /s:c:\temp\sandbox1
Start /w pkgmgr /ip /m:c:\temp\CabFile /s:c:\temp\sandbox2
Another workaround is to use DISM to service Windows Vista SP1 and Windows Server 2008 offline images.
Considerations of using DISM with Windows Server 2008/Vista SP1 Images:
- The Windows image that you are updating must be Windows Vista with SP1 or Windows Server 2008 or later.
- If you are servicing a Windows Vista with SP1 or Windows Server 2008 image, DISM will translate the DISM command to the equivalent Package Manager command so that the image can be updated. DISM provides functional parity to Package Manager.
- Only offline scenarios are supported
- DISM is pre-installed with Windows 7 and Windows Server 2008 R2, and is included in the Windows Automated Installation Kit for Windows 7. The Windows Automated Installation Kit can be installed on Windows Vista and Windows 2008.
<Editor note: download link for Win7 waik: http://www.microsoft.com/downloads/details.aspx?FamilyID=696dd665-9f76-4177-a811-39c26d3b3b34&displaylang=en>
Add the Packages to an Offline Image by Using DISM
1. At an elevated command prompt, navigate to the OPK servicing folder, and type the following command to retrieve the name or index number for the image you want to modify.
Dism /Get-WIMInfo /WimFile:C:\test\images\install.wim
NOTE: An index or name value is required for most operations that specify a Windows imaging (WIM) file.
2. Type the following command to mount the offline Windows image.
Dism /Mount-WIM /WimFile:C:\test\images\install.wim /Name:"Windows 7 HomeBasic" /MountDir:C:\test\offline
3. At a command prompt, type the following command to add a specific package to the image. You can add multiple packages on one command line. The packages will be installed in the order listed in the command line.
Dism /Image:C:\test\offline /Add-Package /PackagePath:C:\packages\package1.cab /PackagePath:C:\packages\package2.cab
Note: .cab is extracted from .msu file.
4. At a command prompt, type the following command to commit the changes and unmount the image.
Dism /Unmount-WIM /MountDir:C:\test\offline /Commit
<<Editor note: The above was taken from http://technet.microsoft.com/en-us/library/dd744559(WS.10).aspx >>
Article ID: 932224 - Last Review: Sep 23, 2011 - Revision: 1