In our development environment, we are installing to an existing website
hosted in IIS 7 (Server 2008). However, in our QA environment, we are
installing to an existing site hosted in IIS 6 (Server 2003). I've found
that in IIS 6, the existing website can't be found unless we add the
SiteId="*" attribute. Is this a known issue, maybe slated to be fixed in WiX
3.6? We're using WiX 3.5 now.

Here are the two WebSite elements I'm using, wherein only one is used,
depending on the environment.


<iis:WebSite Id="websiteId"
                  Description="[WEBSITE_NAME]">
            
     <iis:WebAddress Id="wsWebAddress"
                            Port="80" 
                            IP="[WEBSITE_IP_ADDRESS]" />
</iis:WebSite>


<iis:WebSite Id="websiteId_WithSiteId"
                  Description="[WEBSITE_NAME]"
                  SiteId="*">

     <iis:WebAddress Id="wsWebAddress_WithSiteId"
                            Port="80" 
                            IP="[WEBSITE_IP_ADDRESS]" />
 </iis:WebSite>

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/iis-WebSite-SiteId-required-for-IIS-6-but-not-IIS-7-tp6645304p6645304.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to