marcelo
Posts: 103
Joined: Fri Sep 28, 2007 2:07 pm

Can I Enable Parent paths with advanced Installer? (IIS)

Hi,

Is it possible to change "Enable parent paths" setting on a virual directory that is created using Advanced installer?

I have a few settings like that to change on a newly created virtual Directory.

Other setting I need to change is AccessWrite (for specific subfolders on the virtual directory).

is there a way to set that from Advanced insaller ( Not vbs, C++ or .net, that way I know its possible (and how to do it), but i'm trying to do all on Advanced installer since it is already creating the virtual directory).


If not, when does the virtual Directories creation take place? Can I have my .net custom action to set these settings after the base.Install(savedState); runs, will the virtual directory be created and ready at taht point?

Thanks,
Marcelo
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,
Is it possible to change "Enable parent paths" setting on a virual directory that is created using Advanced installer?
Currently this cannot be done in Advanced Installer because this feature has been implemented beginning with IIS 6.0 and Advanced Installer supports only the common options of the IIS versions between 5.0 and 7.0. However, this is on our TODO list and it will be available in a future version of Advanced Installer.
Other setting I need to change is AccessWrite (for specific subfolders on the virtual directory).
This can be done by using the "Access Flags" and "Authentication" tabs of the Virtual Directory Properties page. You can read more about this here:
http://www.advancedinstaller.com/user-g ... -perm.html
http://www.advancedinstaller.com/user-g ... -auth.html

In order to have a higher degree of granularity when setting these permissions for the sub-folders of the virtual directory you can use the "Permissions" tab in the "Edit Folder" dialog (you right-click the folder in the "Files and Folders" page). In the "Permissions" tab you will use in the "Username" field the IIS user account (built-in account or a dedicated user created installed with your web application).

You can read more about Permissions here:
http://www.advancedinstaller.com/user-g ... sions.html
If not, when does the virtual Directories creation take place?
You can further customize the installed IIS entities (web sites, virtual directories) by scheduling a custom action (.NET, C++, VB etc.) after the predefined custom action "InstallIIS". Be sure to set it as Deferred with no impersonation.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”