2

Windows 7には次のコマンドがあります:

dism /online /Enable-Feature /FeatureName:IIS-WebServerRole /FeatureName:IIS-WebServer /FeatureName:IIS-CommonHttpFeatures /FeatureName:IIS-HttpErrors /FeatureName:IIS-HttpRedirect /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-Security /FeatureName:IIS-URLAuthorization /FeatureName:IIS-RequestFiltering /FeatureName:IIS-NetFxExtensibility /FeatureName:IIS-HealthAndDiagnostics /FeatureName:IIS-HttpLogging /FeatureName:IIS-LoggingLibraries /FeatureName:IIS-RequestMonitor /FeatureName:IIS-HttpTracing /FeatureName:IIS-IPSecurity /FeatureName:IIS-Performance /FeatureName:IIS-HttpCompressionDynamic /FeatureName:IIS-WebServerManagementTools /FeatureName:IIS-ManagementScriptingTools /FeatureName:IIS-ISAPIExtensions /FeatureName:IIS-ISAPIFilter /FeatureName:IIS-StaticContent /FeatureName:IIS-DefaultDocument /FeatureName:IIS-ASPNET /FeatureName:IIS-ASP /FeatureName:IIS-ServerSideIncludes /FeatureName:IIS-CustomLogging /FeatureName:IIS-BasicAuthentication /FeatureName:IIS-HttpCompressionStatic /FeatureName:IIS-ManagementConsole /FeatureName:IIS-ManagementService /FeatureName:IIS-WindowsAuthentication /FeatureName:IIS-DigestAuthentication /FeatureName:IIS-ClientCertificateMappingAuthentication /FeatureName:IIS-IISCertificateMappingAuthentication

ただし、dism コマンドは XP では機能しません。インターネットで検索して見つけました

sysocmgr

コマンドdismのようなものですか?

dism コマンドのような XP 用のコマンドを持っている人はいますか?

ありがとう!

4

1 に答える 1

0

応答ファイルの作成 (IIS 6.0)も参照してください。

というファイルを作成し、IIS_Unattended.txt必要なコンポーネントを指定します。次に例を示します。

[Components]
iis_www = ON
iis_common = ON
iis_inetmer = ON
aspnet = ON
complusnetwork = ON

次のコマンドを実行して、インストールを開始します。

Sysocmgr.exe /i:sysoc.inf /u:IIS_Unattended.txt
于 2013-12-04T10:19:31.647 に答える