Package Manager can install only the first package when you extract two or more packages to the same folder in Windows Vista

Article translations Article translations
Article ID: 932224 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

In Windows Vista, the Package Manager tool can install only the first package when you extract two or more packages to the same folder.

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:
    • Windows6.0-KB929761-x86.msu
    • Windows6.0-KB932590-x86.msu
    These hotfix packages are for hotfix 929761 and hotfix 932590.
  • 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
In this scenario, Package Manager installs only the package for hotfix 929761.

When this problem occurs, information that resembles the following may appear in the Cbs.log file:

2007-07-25 13:17:05, Info CBS Pkgmgr: called with: "Pkgmgr /ip /m:c:\temp\Windows6.0-KB932590-x86.cab"
2007-07-25 13:17:05, Info CSI 00000001@2007/7/25:20:17:05.165 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x64ee2e32 @0xf72c09
@0xf6d617 @0xf6dffc @0x772e36ed @0x776fa174)
2007-07-25 13:17:05, Info CBS Session: 29871864:3301734882 initialized.
2007-07-25 13:17:05, Info CBS Pkgmgr: Installing package from: c:\temp\Windows6.0-KB932590-x86.cab
2007-07-25 13:17:05, Info CBS Appl: detect Parent, Package: Package_1_for_KB929761~31bf3856ad364e35~x86~~6.0.1.1, Parent: Microsoft-
Windows-Foundation-Package~31bf3856ad364e35~x86~~6.0.6000.16386, Disposition = 1003, VersionComp: 1, ServiceComp: 1, BuildComp: 1,
DistributionComp: 1, RevisionComp:1, Exist: 1

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~~6.0.1.1 package. This is the hotfix 929761 package.

Note This problem also applies to Windows Server 2008.

CAUSE

This problem occurs because Package Manager cannot manage two or more packages in the same sandbox.

RESOLUTION

To work around this problem perform one of the following methods.



Method 1:

Expand each package to different folder before you installing them with pkgmgr. To do this, type the following commands at a command prompt:
Delete update*.*

Mkdir c:\temp\sandbox1

Mkdir c:\temp\sandbox2

Start /w pkgmgr /ip /m:c:\temp\CabFile /s:c:\temp\sandbox1

Start /w pkgmgr /ip /m:c:\temp\CabFile /s:c:\temp\sandbox2
In these commands, CabFile represents the .cab file for the hotfix package.


Method 2:

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 >>

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Properties

Article ID: 932224 - Last Review: September 23, 2011 - Revision: 5.0
APPLIES TO
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Ultimate
  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise 64-bit Edition
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 for Itanium-Based Systems
  • Windows Server 2008 Standard without Hyper-V
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Standard
  • Windows Web Server 2008
Keywords: 
kbtshoot kbexpertiseinter kbprb KB932224

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com