This is done using a command-line tool called pkgmgr.exe. This tool is used to
install any Windows optional features in Windows Server 2008. Using pkgmgr.exe, you
can perform an unattended installation in two ways: You can specify the packages you
want installed at the command line using the /iu switch or create an unattend XML file
that contains the list of options you want installed.
Each IIS component listed in Table 6-1 is provided with an abbreviated name version
(specified in parentheses after the full descriptive name) that is used by pkgmgr.exe.
You will need to compile a list of all the components you want to install and then either
specify them on the command line along with pkgmgr.exe or put them all in an unattend
XML file that you pass to pkgmgr.exe to use as its input.
Figure 6-2. Select Role Services screen
182 Microsoft Windows Server 2008 Administration
Table 6-1. IIS 7.0 Role Services Matrix
Service:
Web Server (IIS-WebServer) Installs the IIS 7.0 Web server, the parent component for all optional Web site
components such as HTML, ASP, and ASP.NET (default selected).
Feature:
Common HTTP Features (IIS-CommonHttpFeatures) When installed, allows the server to serve static Web content
such as HTML files, images, custom errors, and redirection (default selected).
Component Description
Static Content (IIS-StaticContent) Allows the server to serve static content (default selected).
Pages:
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231