I created a website using this pattern...

<iis:WebSite Id="Site1WebSite" Description="$(var.Site1)"
Directory="SITE1DIR" AutoStart="yes" SiteId="5002" StartOnInstall="yes">
<iis:WebApplication Id="Site1App" Name="$(var.Site1)"
WebAppPool="Site1AppPool"/>
<iis:WebAddress Id="Site1AllUnassigned" IP="*" Port="80"
Header="$(var.Site1)[ENV_DNS_SUFFIX]"/>
</iis:WebSite>

When I open IIS Manager, I noticed that he bindings display differently
than when I manually create a website.  The binding string created through
the UI is "*:80:header", whereas the WiX generated binding string is
":80:header" (no asterisk).

Any reason why this is happening?  I haven't noticed anything not working,
but I've only performed the most basic of post install testing.


Here is IIS's config file for the two sites (site1 == WiX, site2=manual
binding setup)....

<site name="site1" id="5002" serverAutoStart="true">
 <application path="/" applicationPool="site1">
  <virtualDirectory path="/" physicalPath="C:\testfolder\Sites\site1" />
 </application>
 <bindings>
  <binding protocol="http" bindingInformation=":80:site1.localhost" />
 </bindings>
</site>
<site name="site2" id="5003" serverAutoStart="true">
 <application path="/" applicationPool="site2">
  <virtualDirectory path="/" physicalPath="C:\testfolder\Sites\site2" />
 </application>
 <bindings>
  <binding protocol="http" bindingInformation="*:80:site2.localhost" />
 </bindings>
</site>

-- 
Tony
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to