May 27, 200719 yr Hi folks,I cant get pkgmgr working 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 Any ideas?thanks in advanceHJWEDIT1: it seems that the switch /wait causes trouble the switch /w returns 0 so succesful operationI 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.exeandC:\Program Files\Windows AIK\Tools\PETools\pkgmgr.exerunning 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 May 27, 200719 yr by HJW
May 29, 200719 yr 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.
Create an account or sign in to comment