![]()
|
InstallShield 2009
The View Filter list at the top of the Internet Information Services view contains the names of all of the features and components in your project. This list lets you show and hide virtual directories, application pools, and Web service extensions that are included in specific components in your installation.
When you add a Web site, virtual directory, application pool, or Web service extension through the Internet Information Services view, InstallShield either creates a new component for it or adds it to an existing component:
There is a one-to-many relationship between components and IIS data (that is, Web sites, virtual directories, application pools, or Web service extensions). Therefore, you can associate more than one IIS element with a single component. If a component is being installed, any Web sites, virtual directories, application pools, and Web service extensions that are associated with the component are created at run time.
Project
If a Web site is associated with a component in an InstallScript project, any virtual directories that are added to that Web site must be associated with the same component. Therefore, if you try to change the component for a Web site that contains one or more virtual directories, InstallShield displays a message box to inform you that it will also make the same component change for all of that Web sites virtual directories; InstallShield also displays this message box if you try to change the component for any virtual directories in a Web site. In either case, the message box enables you to proceed or cancel the component change.
Note that for Basic MSI, InstallScript MSI, and Web projects, keeping a Web site in the same component as all of the Web sites virtual directories is not required, but it is recommended.
If you are creating an application pool in an InstallScript project that you want to be associated with a virtual directory or Web site, consider creating the application pool and the virtual directory or Web site within the same component. If you do this, the application pool is created before the virtual directory or Web site is created, which is a requirement of IIS 6. This is not required for Basic MSI, InstallScript MSI, or Web projects.
At any time, you can use the Internet Information Services view to change which component contains the Web site, virtual directory, application pool, or Web service extension.
Task
To associate a Web site, virtual directory, application pool, or Web service extension with a different component in your project:
Note
A Web site is not created on a target machine unless a virtual directory or component that is associated with it is installed.
Tip
If you delete a component in your project, any Web sites, virtual directories, application pools, and Web service extensions that are associated with the component are simultaneously removed from your project.
See Also
|
|
Copyright Information | Contact Acresso |