PDA

View Full Version : How to create virtual Application uder Default Web Site



iconics
04-23-2007, 11:39 AM
I am trying to create a Virtual Application in IIS 7 using InstallShield 2008 Beta version and I could not find a way to create even a virtual directory under existing Default Web Site.

It seems that I can not create a Virual Directory without creating a new Web Site.

davidh
04-23-2007, 05:16 PM
Perhaps the virtual directory\application isn't being installed where you expect it to? The behavior for this hasn't changed, but we have a new help document included with the beta entitled "Configuring the TCP Port and Site Numbers " that might clear things up.

Also, keep in mind that the application name will be what you filled in for 'application name' on the virtual directory tab of the virtual directory in your project.

If you are still having trouble, search for the application name in a log for the install and that might provide insight about what is happening.

Bottom line is you CAN create a virtual directory without installing a web site.

iconics
04-23-2007, 11:39 PM
Hi David,

Thanks for your response.

I figured out that I can create Virtual Directory in an existing Web Site using help on “CoGetObject Example”. I still don’t know how to create “Virtual Application” which is a new thing in IIS 7.

davidh
04-24-2007, 09:38 AM
I don't think the 'Virtual Application' is a new concept to IIS 7. However, it has been moved. You used to find the application on the Virtual Directory tab of a Virtual Directory. Now, it is part of the tree. I have attached a picture of the IIS 7 Manager where I circled the application.

The application will be created on IIS 7 (and prior versions of IIS) by adding the application in the circled section of the IIS view (see pic).

iconics
04-24-2007, 02:34 PM
Hi David,

Now I know

1. How to create "Virtual Directory" in existing Web Site - using InstallScript
2. How to create "Virtual App by" creating a new Web Site - using IDE.

Is it possible to create "Virtual App" in existing default Web Site - using IDE.

davidh
04-24-2007, 03:22 PM
Yes, it is possible to create a virtual directory\application under the default website using the InstallShield IDE.

All you probably need to do is create a 'new' website in the IDE and add a virtual directory\appliciation to it. By default, it will install to the default website based on the "Configuring the TCP Port and Site Numbers" help article I mentioned earlier.