有没有办法列出您想要通过 DISM 安装的每个功能的依赖项?
例如,如果我想安装 IIS-ASPNET,我将需要安装 IIS-BasicAuthentication 和 IIS-Core(或它们的依赖项)
我最不想做的事情就是手动解决这一切!
答案1
哪个版本的 Windows?以下是 Windows 7 中与 IIS 相关的软件包/功能,以反向依赖关系树的形式呈现(子项需要安装其父项,因为这是源代码的呈现方式,我现在没有时间将其反转):
IIS-HostableWebCore
IIS-WebServerRole
+-IIS-FTPServer
| +-IIS-FTPExtensibility
| +-IIS-FTPSvc
| `-IIS-FTPExtensibility
+-IIS-WebServer
| +-IIS-ApplicationDevelopment
| | +-IIS-ASP
| | +-IIS-ASPNET
| | +-IIS-CGI
| | +-IIS-ISAPIExtensions
| | | +-IIS-ASP
| | | +-IIS-ASPNET
| | | `-MSMQ-HTTP
| | +-IIS-ISAPIFilter
| | | `-IIS-ASPNET
| | +-IIS-NetFxExtensibility
| | | +-IIS-ASPNET
| | | +-MSMQ-HTTP
| | | `-WCF-HTTP-Activation
| | `-IIS-ServerSideIncludes
| +-IIS-CommonHttpFeatures
| | +-IIS-DefaultDocument
| | | +-IIS-ASPNET
| | | `-MSMQ-HTTP
| | +-IIS-DirectoryBrowsing
| | | `-MSMQ-HTTP
| | +-IIS-HttpErrors
| | | `-MSMQ-HTTP
| | +-IIS-HttpRedirect
| | | `-MSMQ-HTTP
| | +-IIS-StaticContent
| | | +-IIS-WebDAV
| | | `-MSMQ-HTTP
| | `-IIS-WebDAV
| +-IIS-HealthAndDiagnostics
| | +-IIS-CustomLogging
| | +-IIS-HttpLogging
| | | `-MSMQ-HTTP
| | +-IIS-HttpTracing
| | | `-MSMQ-HTTP
| | +-IIS-LoggingLibraries
| | | `-MSMQ-HTTP
| | +-IIS-ODBCLogging
| | `-IIS-RequestMonitor
| | `-MSMQ-HTTP
| +-IIS-Performance
| | +-IIS-HttpCompressionDynamic
| | `-IIS-HttpCompressionStatic
| | `-MSMQ-HTTP
| `-IIS-Security
| +-IIS-BasicAuthentication
| +-IIS-ClientCertificateMappingAuthentication
| +-IIS-DigestAuthentication
| +-IIS-IISCertificateMappingAuthentication
| +-IIS-IPSecurity
| +-IIS-RequestFiltering
| | +-IIS-ASP
| | `-IIS-NetFxExtensibility
| | +-IIS-ASPNET
| | `-WCF-HTTP-Activation
| +-IIS-URLAuthorization
| `-IIS-WindowsAuthentication
`-IIS-WebServerManagementTools
+-IIS-IIS6ManagementCompatibility
| +-IIS-LegacyScripts
| +-IIS-LegacySnapIn
| +-IIS-Metabase
| | +-IIS-LegacyScripts
| | +-IIS-LegacySnapIn
| | `-MSMQ-HTTP
| `-IIS-WMICompatibility
| `-IIS-LegacyScripts
+-IIS-ManagementConsole
| `-MSMQ-HTTP
+-IIS-ManagementScriptingTools
`-IIS-ManagementService