splay
Posts: 58
Joined: Tue May 15, 2007 6:09 pm

Creat IIS Application

Hey guys,

Am wondering if you can create an IIS application during the install.

I am creating a Virtual Directory and two of the nested folders I want to create as applications in IIS.

Any ideas?

Thanx
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

What exactly you mean by IIS Application, please give me more details.

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
splay
Posts: 58
Joined: Tue May 15, 2007 6:09 pm

IIS Application

Hi Gigi,

If you go into the IIS manager you can see your Virtual Directories.

If you expand one of your virtual directories and right click on one of the sub folders you can create an application for that folder, its not another virtual directory, its just an application.

This is a funny thing that .net webservices need i.e. their containg folder needs to be running as an application in IIS.

Thanks, much appreciated

Tony
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Tony,

This feature is not yet supported, but we have it on our TODO list and will be available in a future version of Advanced Installer. I'm afraid I cannot give an ETA. Thank you for your suggestion.

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
splay
Posts: 58
Joined: Tue May 15, 2007 6:09 pm

Nested Virtual Directories

I was looking at this again and there is a way it could work.

An application from what I understand or can see looks like a Virtual Directory.

When I add a virtual directory in AI it seems to add it to the top level in IIS, so when you open IIS Administrator you will see...
  • DefaultWebsite
  • MyNewVirtualDirectory
  • AnotherNewVirtualDirectory
Does this work on other peoples machines, because it cause mine to crash.

If I could create a virtual directory under DefaultWebSites then it might solve the problem.

So here is what I would be attempting DefaultWebsite --> MyLevelOneSite --> MyLevelTwoSite

Is it possible?

Thanks
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Tony,

Sorry for the lated answer.
I am creating a Virtual Directory and two of the nested folders I want to create as applications in IIS.
Any virtual directory has a configurable flag "Virtual directory is a web application":
http://www.advancedinstaller.com/user-g ... tings.html

If the folder that hosts your web application is a child folder of the physical disc location of your parent web site, then, indeed, it is redundant that you create a virtual directory as it will be automatically served by your IIS machine. But, since you need to host a .Net web service in that folder you are 'forced' to create that application as a virtual directory.
When I add a virtual directory in AI it seems to add it to the top level in IIS, so when you open IIS Administrator you will see...

DefaultWebsite
MyNewVirtualDirectory
AnotherNewVirtualDirectory

Does this work on other peoples machines, because it cause mine to crash. If I could create a virtual directory under DefaultWebSites then it might solve the problem.
You CAN add a virtual directory under the default web site (again, the physical location of the folder does not need to be a child of the default web site folder - that is the purpose of the virtualization).

If you need to create nested virtual directories there is a workaround described below:

1. Create a virtual directory named "VDir" under the "Default Web Site".

2. Create another virtual directory named "VDir/ChildVDir1" and one named "VDir/ChildVDir2" under the "Default Web Site" (As you are not allowed to enter special characters "/" when renaming a virtual directory you should compose the above names in a plain text editor like notepad and then paste them in the editable fields). Notice the forward slashes (/) used in the names.

3. As source folder for your virtual directories you can use something like: "APPDIR\VDir\Folder".

If you encounter any more problems please send the AIP file (if does not contain any confidential informations) to support at advancedinstaller dot com.

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Feature Requests”