This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Creating a Virtual Dirctory with the correct Folder structure, HOW???
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 22, 2009
11:08 AM
Creating a Virtual Dirctory with the correct Folder structure, HOW???
I am using IIS 5.1 and Installshield 2009 MSI.
I want to use the Internet Information Services item to install the virtual directory.
I want to create a Virtual directory of this structure
[IISRootFolder]MyCompany\MyProduct\MyApplication and I want the Virtual Directory to be MyApplication.
It seems that no matter what I try, after the install, the virtual directory appears in IIS 5.1 as
Default Website/MyApplication instead of Default Website/MyCompany/MyProduct/MyApplication.
How do I configure my virtual folder to have my desired structure? Thanks
Here is the way I have set it up in Installshield.
I want to use the Internet Information Services item to install the virtual directory.
I want to create a Virtual directory of this structure
[IISRootFolder]MyCompany\MyProduct\MyApplication and I want the Virtual Directory to be MyApplication.
It seems that no matter what I try, after the install, the virtual directory appears in IIS 5.1 as
Default Website/MyApplication instead of Default Website/MyCompany/MyProduct/MyApplication.
How do I configure my virtual folder to have my desired structure? Thanks
Here is the way I have set it up in Installshield.

6 Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 22, 2009
11:30 AM
To obtain this structure, it would be necessary to create virtual directories for MyCompany, MyProduct, and MyApplication. Otherwise, the virtual directory in the IIS view will be created as is and will point to the physical directory [IISROOTFOLDER]MyCompany\MyProduct\MyApplication.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 24, 2009
09:56 AM
Thanks joshstechnij.
Maybe in a future release of Installshield, there could be a "Create folder" option in the right menu options as well as the "Create Virtual Directory" option.
You see, I dont want "MyCompany" and "MyProduct" to be virtual directories.
Anyway I can work with this workaround for now. Thanks.
Maybe in a future release of Installshield, there could be a "Create folder" option in the right menu options as well as the "Create Virtual Directory" option.
You see, I dont want "MyCompany" and "MyProduct" to be virtual directories.
Anyway I can work with this workaround for now. Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 24, 2009
12:02 PM
Unfortunately, it does not appear that support for this can be provided. IIS requires (as far as we can tell) that each folder in a virtual directory path be an actual virtual directory. Attempting to enter something like MyCompany/MyProduct/MyApplication in the virtual directory wizard causes an error "There are invalid characters in the alias name" to appear (on IIS 5.1). IIS 7 does not allow for '/' characters to be typed into the alias field.
The underlying metadata maintained by IIS for describing virtual directories builds the virtual directory structures in a hierarchical manner. So without a virtual directory named MyCompany, MyProduct would have a parent of Default Web Site (the same then applies to MyApplication).
The underlying metadata maintained by IIS for describing virtual directories builds the virtual directory structures in a hierarchical manner. So without a virtual directory named MyCompany, MyProduct would have a parent of Default Web Site (the same then applies to MyApplication).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 25, 2009
11:54 AM
joshstechnij wrote:
IIS requires (as far as we can tell) that each folder in a virtual directory path be an actual virtual directory. Attempting to enter something like MyCompany/MyProduct/MyApplication in the virtual directory wizard causes an error "There are invalid characters in the alias name" to appear (on IIS 5.1). IIS 7 does not allow for '/' characters to be typed into the alias field.
The underlying metadata maintained by IIS for describing virtual directories builds the virtual directory structures in a hierarchical manner. So without a virtual directory named MyCompany, MyProduct would have a parent of Default Web Site (the same then applies to MyApplication).
But we are updating our install from Wise to Installshield 2009, and for the Wise install we used Microsofts adsutil.vbs application to create the Virtual Directory. This allowed for ordinary folders in a Virtual directory path. So IIS is not the issue here. Maybe MSI is the issue? Or Installshield?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 16, 2009
11:21 AM
joshstechnij wrote:
the virtual directory in the IIS view will be created as is and will point to the physical directory [IISROOTFOLDER]MyCompany\MyProduct\MyApplication.
I wish that was true.
The physical directory (local path setting) will actually be:
[IISROOTFOLDER]MyCompany\MyProduct\MyApplication\
So how do you set a local path without a backslash?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 23, 2009
04:48 PM
I am facing similar problem.
The limitation is that Application Name (in IS2010) should be same as the name of folder of physical path.
e.g. "MyApplication" should be name of folder if name of application (VDir) is "MyApplication". If its not, InstallShield creates another additional vitual directory in target IIS?
Any solution?
Naveed
The limitation is that Application Name (in IS2010) should be same as the name of folder of physical path.
e.g. "MyApplication" should be name of folder if name of application (VDir) is "MyApplication". If its not, InstallShield creates another additional vitual directory in target IIS?
Any solution?
Naveed
