We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • JeongHwan JeongHwan

    50 Posts

    Microsoft

    Moderator

    Re: Installing web server with pkgmgr and powershell

    Apr 16, 2008 05:45 PM|JeongHwan|LINK

    I guess you have some version mismatch problem in the unattend.xml file. 
    Maybe the unattend.xml file was made for x86 previous Windows OS machine.

    Supposing your machine is AMD64 processor of Windows 2008 RTM, you will need to update the unattend.xml.

    If you still see the problem, please try to run these commands on DOS command prompt and let me know the error code.

    F:\test>start /w pkgmgr /n:f:\test\unattend.xml
    F:\test>echo %errorlevel%
    -2146498555

    BTW, if you see "-2146498555", it means there was still version mismatch problem in your unattend.xml file. Please try to set with correct major and minor version number with reading this registry key and try again.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\BuildLabEx

    Jeong Hwan Kim