Bisztoss Cobol programoló volt, aki ezt és így kitalálta:
IIS is included but turned off by default… Microsoft has released the
following
(source Eric Deily [MSFT]):
You can install IIS7 via Add/Remove Windows Components. To get there, click
Start->Computer, then click on "Change or remove a program". In the explorer
bar above that says ">Control Panel > Programs > Installed Programs", click
the arrow after "Programs", then select "Advanced Options". Double-click on
"Windows Features", and you should be able to select what you need in the
"Windows Features" dialog, we’re under "Internet Information Services".
Also note that there’s a web relnote that should go live here shortly that
will tell you how to use the package manager command line tool to install
IIS7. We signed off on that relnote yesterday. For Vista Ultimate (the
relnote contains instructions for how to do this on ALL client editions),
you can install using the following "long" command line (run from an
elevated command prompt):
start /w pkgmgr /l:log.etw
/iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent
;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;I
IS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;
IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiag
nostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTrac
ing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;I
IS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappi
ngAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorizatio
n;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionSta
tic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementCo
nsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementC
ompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacyS
napIn;IIS-FTPPublishingService;IIS-FTPServer;IIS-FTPManagement;WAS-WindowsAc
tivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI
The above instructions will install IIS7 but ASP.NET wont be registered….
You need to run aspnet_regiis – i, and then you will have to manually create
a temp directory at
\Windows\ServiceProfiles\NetworkService\AppData\Local\temp\
(Juan Llibre on the vista forums, reported not being able to run the
aspnet_regiis… I had no trouble, but did it installed as the local
administrator, from the same elevated command prompt I used to install
IIS… He also commented that the Network Service didnt have rights to the
new temp folder and he had to grant them explicitly… I didnt have that
problem either…)
Also take note… The ASPNET build for 5308 is 2.0.50727.62 where the
released version of ASPNET is 2.0.50727.42… I am not sure what this might
mean to SQL 2005, WIN FX or general VS 2005 yet, but I will hope nothing =)
Dan
http://blog.danbartels.com/archive/2006/02/26/1214.aspx