I'm trying to install the IIS management tools using the command line on Windows 7 SP1 x64. I executed the following command line: dism /online /enable-feature /featurename:IIS-WebServerManagementTools /featurename:IIS-ManagementConsole But, I get an error that the "IIS-WebServerRole" feature needs to be enabled. So, I execute this command: dism /online /enable-feature /featurename:IIS-WebServerRole /featurename:IIS-WebServerManagementTools /featurename:IIS-ManagementConsole This works, but also installs the IIS Webserver! Including the WWW publishing service and inetpub folder. How do I install the IIS management tools [unattended] without installing the entire IIS server?
The problem is: If you enable the IIS-WebServerRole feature using dism, it automatically enables the IIS-WebServer feature. -Tony
答案 |
|
来自: icecity1306 > 《安装技术》