Adding Files to an IIS Virtual Directory
InstallShield 2019 Express Edition
To add a file to an IIS virtual directory:
|
1.
|
Add an IIS Web site to your project if you have not already done so. InstallShield automatically adds the predefined path [IISROOTFOLDER] to the Files view. |
|
2.
|
In the View List under Specify Application Data, click Files. |
|
3.
|
In the Feature list, select the feature with which you want the file associated. |
|
4.
|
In the Destination computer’s folders pane, add the file to the [IISROOTFOLDER] folder, or a subfolder of the [IISROOTFOLDER] folder. |
|
5.
|
In the View List under Configure the Target System, click Internet Information Services. |
|
6.
|
Create a new virtual directory. |
|
7.
|
In the Web Sites explorer, click the virtual directory that you created. |
|
8.
|
In the Content Source Path (Local or UNC) setting, click the ellipsis button (...). The Browse for Directory dialog box opens. By default, the files are stored in IISROOTFOLDER. |
|
9.
|
Enter the same target directory as the one that contains the new file that you added in the Files and Folders view. |
At installation, files are copied to the target directory folder. In addition, the virtual directory is configured for that folder on the target system if IIS is present.
See Also
Internet Information Services View
Creating a Web Site and Adding an Application or a Virtual Directory
Adding IISROOTFOLDER Support
Open topic with navigation