iis - How to create an IIS7 Virtual Directory Under Another Website (Not the Default Website) Using WiX -
I am struggling to create virtual directories in an existing website using YX in IIS 7.
For example, what I have is:
1) The default website of the IIS, and 2) Another website that is a container for many business applications, and we use the "container Websites ".
What I want to do is using the following YSX:
a) Create a virtual directory for any of the commercial applications (we call it "BusinessApp1" ) The final structure in IIS looks like "ContainerVibiti \ Business App 1" under "ContainerVisite"
The above virtual directory should be successful, I create the same virtual directory for the remaining business applications IRA Received very much.
B) Create a dedicated IIS application pool for each business app installed on "Container Website".
I would be very grateful for any help to get the position.
Thank you.
See where to create a custom action to list existing websites and drop one from In choosing also he goes down. I think that you can just leave the dropdown and specify specific websites to use, then give it references within your iis: WebVirtualDir section, such as:
& lt; Iis: Website ID = "Selected Web Site" Details = "[WEBSITE_DESCRIPTION]" & gt; & Lt; Iis: WebAd id = "All absent" ports = "[WEBSITE_PORT]" IP = "[WEBSITE_IP]" header = "[WEBSITE_HEADER]" / & gt; & Lt; / IIS: Website & gt; & Lt; iis: WebVirtualDir id = "VirtualDir" alias = "[TARGETVDIR]" directory = "INSTALLLOCATION" website = "selected web site" & gt; & Lt; iis: Web Application ID = "SimpleWeb App App" name = "[Targekit VDIR]" webpage = "SWAAppPool" /> & Lt; Iis: WebDirProperties id = "WebVirtualDirProperties" Execute = "yes" script = "yes" read = "yes" WindowsAuthentication = "no" anonymous service = "yes" IIsControlledPassword = "yes" /> & Lt; / IIS: WebVirtualDir & gt;
Comments
Post a Comment