Web site install path

Got a problem you cannot solve? Try here.
Post Reply
tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

Web site install path

Post by tzachk »

Hello InstallAware support.

I'm trying to create a new web site using the "Create IIS Site" command.
I need the web site to point to a specific directory.
The default is to point to the default wwwroot path, but I want it to point to a different directory. I can't seem to find how to achieve this.

Any ideas?

Regards,
T.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Web site install path

Post by FrancescoT »

Dear Tzachk,

with the "Create IIS Virtual Folder " command, leave empty the "Virtual Path" field and use the "Physical Path" parameter, to specify the desired path to point to.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

Re: Web site install path

Post by tzachk »

Hi Francesco,

This method is quite confusing and not the right way to do it.
Web site should have it's physical path and virtual folders should have their own, as virtual folders are used for security means and isolating behaviors.
Because I need to create several virtual folders under the same web site (for security sake), your method results in the web site physical path being the physical path of the last virtual folder I'll create.
Why would you want to change the way microsoft designed their web site and virtual folders configuration?

T.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Web site install path

Post by FrancescoT »

Dear Tzachk,

could you please first verify, if the SET IIS property commands does what you are serching for?

With the link below it is also available a sample on how to use the command:
http://www.installaware.com/forum/viewt ... f=2&t=6793

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

Re: Web site install path

Post by tzachk »

Hi Francesco,

Where can I get a list of properties names to set?

Regards,
Tzach
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Web site install path

Post by FrancescoT »

Dear Tzach,

a document is available with Set / Get IIS property command ducumentation.
Just click the HyperLink under the "Use IIS 7 Processing" description.

Anyway, you can find a copy of it attached.

Regards
Attachments
Get IIS property.pdf
(176.95 KiB) Downloaded 586 times
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply