Previous Next

Thread: Nothing happens when I attempt to install IIS with pkgmgr.exe

Last post 09-22-2008 2:56 PM by HSeiler. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 09-22-2008, 2:19 PM

    Nothing happens when I attempt to install IIS with pkgmgr.exe

     Hey guys, I'm attempting to put together a standard build for our IIS 7 servers and the process is proving to be a bit more difficult to get working than it was with IIS 6.  I've followed the instructions on IIS.net located HERE .  Actually I just copied/pasted the unattend file they have their, but made sure to change the system build number to match my server.  I then right click on command prompt--->Run as administrator.  Once I'm in the command prompt I attempt to run: start /w pkgmgr /n:D:\IISBuild\unattend.xml

     The problem is after hitting enter, NOTHING happens.  The cursor just goes to the next line in the command window.  What am I missing here?  Thanks guys.

  • 09-22-2008, 2:27 PM In reply to

    • HSeiler
    • Top 50 Contributor
    • Joined on 06-10-2002, 4:41 PM
    • Posts 61

    Re: Nothing happens when I attempt to install IIS with pkgmgr.exe

    Open log file \Windows\logs\cbs\cbs.log. Search log for pkgmgr with your unattend command. I would expect an error in your unattend.xml file if command exits that quickly.

    Henry Seiler
    IIS Deployment
  • 09-22-2008, 2:35 PM In reply to

    Re: Nothing happens when I attempt to install IIS with pkgmgr.exe

    Ok now I just went to start run--->inetmgr and the IIS manager comes up, so obviously it did install.  I'm confused though....does the unattended install not show you progress like the old version did?  It just installs it in the background and you have to assume when it is finished?  Thanks for any info you can provide.

  • 09-22-2008, 2:42 PM In reply to

    Re: Nothing happens when I attempt to install IIS with pkgmgr.exe

     Here is a little more info.  The install appeared to work on the server that I tried by just typing the full command into the command prompt.  I still can not get it working by using the answer file.  Here are the results of the cbs.log file.

     

    2008-09-22 11:08:50, Info                  CBS    Pkgmgr: called with: "pkgmgr.exe  /n:D:\IISBuild\unattend.xml"
    2008-09-22 11:08:50, Info                  CSI    00000001@2008/9/22:16:08:50.901 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x6c9b8504 @0xc9165f @0xc8b8ea @0xc8c368 @0x76944911 @0x770de4b6)
    2008-09-22 11:08:50, Info                  CBS    Loaded Servicing Stack v6.0.6001.18000 with Core: C:\Windows\winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.0.6001.18000_none_095f6148c74a7a64\cbscore.dll
    2008-09-22 11:08:51, Info                  CSI    00000001@2008/9/22:16:08:51.010 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x6c9b8504 @0x6e278439 @0x6e2562a3 @0xa41392 @0xa41ed4 @0xa417cb)
    2008-09-22 11:08:51, Info                  CBS    Could not load SrClient DLL from path: SrClient.dll.  Continuing without system restore points.
    2008-09-22 11:08:51, Info                  CSI    00000002@2008/9/22:16:08:51.010 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x6c9b8504 @0x6e2ae615 @0x6e290dec @0xa41392 @0xa41ed4 @0xa417cb)
    2008-09-22 11:08:51, Info                  CSI    00000003@2008/9/22:16:08:51.026 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x6c9b8504 @0x745d1a0d @0x745d1794 @0xa4360b @0xa42be3 @0xa417cb)
    2008-09-22 11:08:51, Info                  CBS    NonStart: Checking to ensure startup processing was not required.
    2008-09-22 11:08:51, Info                  CSI    00000004 IAdvancedInstallerAwareStore_ResolvePendingTransactions (call 1) (flags = 00000004, progress = NULL, phase = 0, pdwDisposition = @0x99fa2c
    2008-09-22 11:08:51, Info                  CBS    NonStart: Success, startup processing not required as expected.
    2008-09-22 11:08:51, Info                  CSI    00000005 CSI Store 4017528 (0x003d4d78) initialized
    2008-09-22 11:08:51, Info                  CBS    Session: 29957325:2159933844 initialized.
    2008-09-22 11:08:51, Info                  CBS    Pkgmgr: Unattend Configure: Begin
    2008-09-22 11:08:51, Error                 CBS    Pkgmgr: Failed unattend configure: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~x86~~6.0.6000.16386, hr: 0x800f0805

    2008-09-22 11:08:51, Info                  CBS    Pkgmgr: return code: 0x800f0805

  • 09-22-2008, 2:56 PM In reply to

    • HSeiler
    • Top 50 Contributor
    • Joined on 06-10-2002, 4:41 PM
    • Posts 61

    Re: Nothing happens when I attempt to install IIS with pkgmgr.exe

     1) When installing via command line there is no UI, you can check status from pkgmgr by inspecting return code: echo %errorlevel%

    The erro code in CBS log file 0x800f0805 is  "The package is not valid." This  probable implies there is an error in your unattend.xml file. Please paste it in your next reply.

    Henry Seiler
    IIS Deployment
Page 1 of 1 (5 items)
Page view counter