Creating a Nested Virtual Directory

InstallShield 2023

Project:This information applies to the following project types:

Basic MSI
DIM
InstallScript
InstallScript MSI
Merge Module

You can create a virtual subdirectory under an existing virtual directory.

You can also create a virtual subdirectory under a virtual directory that is being installed as part of your installation. The parent virtual directory must be installed before the virtual subdirectory.

Project:For InstallScript projects, if a parent virtual directory should be installed before its child virtual subdirectory, the component that contains the parent virtual directory must be installed before the component that contains the child virtual subdirectory.

To create a virtual directory under an existing virtual directory:

1. In the View List under Server Configuration, click Internet Information Services.
2. In the Web Sites explorer, select the Web site that should contain the nested virtual directory.
3. Right-click the new Web site and click New Virtual Directory. InstallShield adds a new virtual directory.
4. Click the General tab.
5. In the Name setting, indicate the name of the existing directory, as well as the name of the nested virtual subdirectory that you want to create. Separate both names with a slash.

For example, to create a virtual directory called MySubdirectory under the existing virtual directory called VirtualDirectory, enter the following:

VirtualDirectory/MySubdirectory

Note:If the parent directory does not already exist on the target system, the target system displays an error when the end user opens the directory in the IIS Manager.

See Also