Hi All,
I have had a WiX based installer installing my web application to the
default web site happily now for a while, I now need to be able to allow
the user to specify which web site they want to install the application
under.
I have created a dll for my CA it uses ADSI to fetch the web site names
and populate a list box in the UI, the user selects the site they want
and another CA looks up this site ID and gets the site name no problem,
the only thing is my web site always ends up under the default web site
L
I have the following:
<iis:WebSite Id="InstallWebSite" Description="[SELECTEDWEBSITE]">
<iis:WebAddress Id="DefaultPort" Port="80" />
</iis:WebSite>
Where SELECTEDWEBSITE is set in a CA run after CostFinalize
I then use this in the following fragment:
<Component Id="MyWebSiteVirtualDir"
Guid="9CD46728-FCE5-4d36-B00F-70E3B2B1AD00">
<iis:WebAppPool Id='MyAppPool' Name='MyPool'
Identity='networkService'/>
<iis:WebVirtualDir Id='MyWebSiteVirtualDir' Alias='MyWebApp'
Directory='INSTALLDIR' WebSite='InstallWebSite'>
<iis:WebApplication Id='MyVD' Name='MyVDName'
Isolation='medium' WebAppPool='MyAppPool'/>
<iis:WebDirProperties Id='WebDirProperties' Script='yes'
DefaultDocuments='MyEntryPoint.dll'
Execute='yes' Read='yes'
WindowsAuthentication='yes' Write='yes' AnonymousAccess='yes'/>
</iis:WebVirtualDir>
</Component>
Has anyone any idea what I'm doing wrong, I've been banging my head
against a brick wall for a while with this L, any help would be greatly
appreciated..
Thanks in advance
Andrew
If you've received this email by mistake, we're sorry for bothering you. It may
contain information that's confidential, so please delete it without sharing
it. And if you let us know, we can try to stop it from happening again. Thank
you.
We may monitor any emails sent or received by us, or on our behalf. If we do,
this will be in line with relevant law and our own policies.
Sage (UK) Limited. Registered in England at North Park, Newcastle upon Tyne,
NE13 9AA. Registered number 1045967.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users