Page 1 of 1
Web site install path
Posted: Mon Jun 17, 2013 8:31 am
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.
Re: Web site install path
Posted: Mon Jun 17, 2013 12:04 pm
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
Re: Web site install path
Posted: Tue Jun 18, 2013 12:32 am
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.
Re: Web site install path
Posted: Tue Jun 18, 2013 1:12 pm
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
Re: Web site install path
Posted: Tue Jun 25, 2013 7:47 am
by tzachk
Hi Francesco,
Where can I get a list of properties names to set?
Regards,
Tzach
Re: Web site install path
Posted: Tue Jun 25, 2013 8:00 am
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