Freigeben über


IIS7. Installation instructions for Vista Beta 2

Since IIS7 is not enabled nor installed by default on Vista (just like IIS6 is not enabled nor installed by default on Windows Server 2003 and Windows XP 64bit), and the various UI/Wizard/ControlPanel-mechanisms for managing components in Vista are not exactly ready for prime time (all are completely rewritten for Vista), I thought I should share the mechanism that the IIS team uses to install/develop/test IIS7.

BTW, this is the only mechanism that I can assure you that works because we run it every day and assure it works as we merge our code changes on towards the WinMain branch which produces the beta/product builds that you get.

start /w pkgmgr /l:log.etw /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;IIS-FTPPublishingService;IIS-FTPServer;IIS-FTPManagement;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

Yes, I know it is long. It installs all IIS7 components.

You can pick a smaller set, but then I cannot assure you that it works nor that uninstall/upgrade works. In fact, let me just say that you should not try upgrades nor partial uninstallations. It does not work reliably (yet), and we know that already.

This command should work for Vista builds greater than 5266, though I recommend builds 5308 or later of Beta 2. We changed the names of several IIS Components in between those times for consistency purposes - this command represents the latest agreed-upon names.

//David

Comments

  • Anonymous
    March 20, 2006
    А разве там уже не вшит IIS7? Вшит-то он вшит, но слишком предусмотрительно откл

  • Anonymous
    March 27, 2006
    David, I tried this several times but it still won't work. I've tried installing from the Windows Features dialog but it fails as well. I'm not getting any good event logs to view either.

    I'm on 5308 and it is pretty much a fresh install. Any more ideas here?

  • Anonymous
    March 27, 2006
    I thought I'd post the error logs.

    Log Name:      System
    Source:        Microsoft-Windows-Servicing
    Date:          3/27/2006 10:16:32 PM
    Event ID:      4385
    Task:          None
    Level:         Information
    Keywords:      Classic
    User:          John C. Bland II
    Computer:      KM1
    Description:
    Windows Servicing failed to complete the process of changing update Windows Foundation Language Pack from package Language Pack(Language Pack) into localized string(Installed) state
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
       <Provider Name="Microsoft-Windows-Servicing" Guid="{bd12f3b8-fc40-4a61-a307-b7a013a069c1}" EventSourceName="Microsoft-Windows-Servicing" />
       <EventID Qualifiers="49152">4385</EventID>
       <Version>0</Version>
       <Level>0</Level>
       <Task>0</Task>
       <Opcode>0</Opcode>
       <Keywords>80000000000000</Keywords>
       <TimeCreated SystemTime="2006-03-28T05:16:32.000Z" />
       <EventRecordID>21848</EventRecordID>
       <Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" RelatedActivityID="" />
       <Execution ProcessID="0" ThreadID="0" />
       <Channel>System</Channel>
       <Computer>KM1</Computer>
       <Security UserID="S-1-5-21-3849095605-950268500-615778511-1000" />
     </System>
     <UserData>
       <CbsUpdateChangeState xmlns="http://manifests.microsoft.com/win/2004/08/windows/setup_provider">
         <UpdateName>Windows Foundation Language Pack</UpdateName>
         <PackageIdentifier>Language Pack</PackageIdentifier>
         <ReleaseType>Language Pack</ReleaseType>
         <UpdateState>Installed</UpdateState>
         <PackageAssembly>Microsoft-Windows-WindowsFoundation-LanguagePack-Package~31bf3856ad364e35~x86~en-US~6.0.5308.17</PackageAssembly>
         <UpdateDisplayName>Windows Foundation Language Pack</UpdateDisplayName>
         <Operation>Installed</Operation>
         <OperationCompleted>True</OperationCompleted>
         <ErrorCode>0x80070057</ErrorCode>
         <RebootOption>False</RebootOption>
       </CbsUpdateChangeState>
     </UserData>
    </Event>

    Here is the one right before the above.
    Log Name:      System
    Source:        Microsoft-Windows-Servicing
    Date:          3/27/2006 10:16:32 PM
    Event ID:      4375
    Task:          None
    Level:         Information
    Keywords:      Classic
    User:          John C. Bland II
    Computer:      KM1
    Description:
    Windows Servicing failed to complete the process of setting package Language Pack (Language Pack) into localized string(Installed) state
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
       <Provider Name="Microsoft-Windows-Servicing" Guid="{bd12f3b8-fc40-4a61-a307-b7a013a069c1}" EventSourceName="Microsoft-Windows-Servicing" />
       <EventID Qualifiers="49152">4375</EventID>
       <Version>0</Version>
       <Level>0</Level>
       <Task>0</Task>
       <Opcode>0</Opcode>
       <Keywords>80000000000000</Keywords>
       <TimeCreated SystemTime="2006-03-28T05:16:32.000Z" />
       <EventRecordID>21847</EventRecordID>
       <Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" RelatedActivityID="" />
       <Execution ProcessID="0" ThreadID="0" />
       <Channel>System</Channel>
       <Computer>KM1</Computer>
       <Security UserID="S-1-5-21-3849095605-950268500-615778511-1000" />
     </System>
     <UserData>
       <CbsPackageChangeState xmlns="http://manifests.microsoft.com/win/2004/08/windows/setup_provider">
         <PackageIdentifier>Language Pack</PackageIdentifier>
         <ReleaseType>Language Pack</ReleaseType>
         <PackageState>Installed</PackageState>
         <PackageAssembly>Microsoft-Windows-WindowsFoundation-LanguagePack-Package~31bf3856ad364e35~x86~en-US~6.0.5308.17</PackageAssembly>
         <Operation>Installed</Operation>
         <OperationCompleted>True</OperationCompleted>
         <ErrorCode>0x80070057</ErrorCode>
         <RebootOption>False</RebootOption>
         <MissingElements>
         </MissingElements>
       </CbsPackageChangeState>
     </UserData>
    </Event>

    It is completely weird. The management console is no help at all. It doesn't work at all. I can't install or uninstall anything from it. I even stripped it down to:

    start /w pkgmgr /l:log.etw /iu:IIS-WebServerRole

    with no luck.

    Also, how do you open the log.etw file? It is encrypted when I open it.

    Any help here is much appreciated. Thanks!

  • Anonymous
    March 27, 2006
    The comment has been removed

  • Anonymous
    March 28, 2006
    No, I completely understand about support and bugs. I was just hoping for a gem of knowledge somewhere on how to fix the issue(s). What I mean by fresh install is nothing about the OS was changed. I merely installed Vista and a few programs (office, etc) before I tried installing IIS.

    Thank's for the tracerpt. I'll check it out and see what I can see. Maybe it'll have that gem I'm looking for.

    Thanks for your time.

  • Anonymous
    March 28, 2006
    I formatted and reinstalled Vista. ALL IS WELL! :-)

    Thanks!

  • Anonymous
    March 29, 2006
    The comment has been removed

  • Anonymous
    August 21, 2006
    The comment has been removed

  • Anonymous
    September 12, 2006
    Hi All,
    You can install IIS in vista by following these instructions which are mentioned below:

    1. Go to Control Panel and click on Control Panel Home which is written on the left column.
    2. Single click on Programs.
    3. Single click on Programs ans Features.
    4. Single click on turn windows feature on or off.
    5. Select IIS from that menu and insert Windows Vista's CD.

    It will install IIS on your OS.

  • Anonymous
    September 15, 2006
    I have IIS7 installed and running, but cannot get VSR2 to install. It does not see port 80, even though it is configured in IIS. It asks for IIS Admin. Do we support this in IIS7 with IIS Admin?

  • Anonymous
    September 16, 2006
    Fixed it! Windows Authentication as missing

  • Anonymous
    June 20, 2007
    The comment has been removed

  • Anonymous
    September 03, 2007
    After another vista failure/crash, I've restored an earlier image that i thought was stable. However, a few minutes after booting, the event log starts to show an enormous amount of errors, 120 so far. 16 of event 4375,  113 of event  4385,  and one 7026.  When I click on the errror, and then follow the provided link for Microsoft support, a webpage opens with this message: "Results for: Microsoft product: Windows Operating System; Version: 6.0.6000.16386; ID: 4375; Event Source: Microsoft-Windows-Servicing; No results were found for your query. Please see Search Help for suggestions." Is it odd that Microsoft coded these errors messages, and provides the link for help, but has no knowledge of the errors? A couple of clicks, and I can get all the help I want for $60 US. So, ok, I'm all for a good gag, but this is a joke right? I mean, $400 for the operating system, and $60 for the vendor to tell me why their software posted 120 errors, and what they mean.  I'm on TV, right?

  • Anonymous
    July 18, 2008
    The comment has been removed