Hi,
I am creating an .msi using wix to install in "Test Web Site". But it always installs in "Default web site". The .wxs looks like:
<iis:WebVirtualDir Id="VirtualDir" Alias="TestService" Directory="Test_dir" WebSite="WebSiteId" >
<iis:WebApplication Id="TestWebApp" Name="TestService" />
</iis:WebVirtualDir>
Does anyone know how to intstall into "Test Web Site" (NOT in "Default Web Site")?
Thanks, Menaka
From stackoverflow
-
Hi,
I found the solution for the problem I mentioned.
When the attribute "SiteId" is set to "*", then the website lookup is done using the "Description" attribute of the "" element.
Thanks, Menaka
Ant : Although my problem was entirely different (we just wanted the default site, even if it wasn't called "Default Web Site" [for a different language version of Windows for example]), this answer still helped me. :)
0 comments:
Post a Comment