Jump to content

PKGMGR driving me crazy


Recommended Posts

Hi folks,

I cant get pkgmgr working :blink:

my log file:

2007-05-27 15:19:34, Info CBS Pkgmgr: called with: "pkgmgr /o:"C:\wim_mount\;C:\wim_mount\Windows" /n:"C:\answer.xml" /l:c:\log.txt"

2007-05-27 15:19:34, Info CSI 00000001@2007/5/27:13:19:34.224 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x6c11f745 @0xda2dbf @0xd9d892 @0xd9e27e @0x76573833 @0x77bda9bd)

2007-05-27 15:19:34, Info CBS Pkgmgr: return code: 0x80004001

%errorlevel% reports 9009 or sometimes a negative digit :wacko:

Any ideas?

thanks in advance

HJW

EDIT1: it seems that the switch /wait causes trouble the switch /w returns 0 so succesful operation

I run "start /w pkgmgr <options>" right now :)

EDIT2: How possibly can there be a difference between:

C:\Program Files\Windows AIK\Tools\x86\Servicing\pkgmgr.exe

and

C:\Program Files\Windows AIK\Tools\PETools\pkgmgr.exe

running commandline to integrate updates from 2nd location fails with error 2 and running exactly same commandline from 1st dir is succesful.

From PETools\.. it says in the logfile an error with WCP.DLL

Edited by HJW
Link to comment
Share on other sites


Not being on my home system with WAIK installed, I am not positive, but I think, without the \x86\ switch in the command line, either PETools dosen't know which version (IE: x86 or x64) to run. OR, The the tool your attempting to run isnt located in "C:\Program Files\Windows AIK\Tools\PETools" But actually located in "C:\Program Files\Windows AIK\Tools\x86\Servicing". You can browse to the actual folders and see which folder contains the version of "pkgmgr.exe" that you actually wish to use, and use that path in your command line.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...