Hello,
a program I am developing installs as a website in IIS (therefore, not 
under virtual directory). It uses HTTPS but the installer also installs 
HTTP binding (since it has to be there). The website for installation 
has to be preconfigured with all settings (HTTPS binding, certificate) 
before installation. So far so good, in IIS7 everything works.
But in IIS6, installer removes the HTTPS binding (probably because it is 
not defined in installation component). When I define it (as another 
iis:WebAddress element, with parameter Secure="yes"), it is created 
according to what was defined. But I want to leave the HTTPS binding 
intact, not change it. I could do that by defining another WebAddress 
element as already mentioned but without defining the Port, but this is 
not possible because Port has to be defined.
Here is a sample of the code:

<Component
                 Id="ComponentId"
                 Guid="A9998994-0376-12E0-98A0-9175DAE72187"
                 KeyPath="yes"
                 Permanent="yes">

<iis:WebSite
                     Id="WebSiteDir"
                     Description="[WEBSITE_DESCRIPTION]"
                     Directory="WEBSITE">

<iis:WebAddress
                         Id="WebSiteAddress"
                         Port="[WEBSITE_PORT]"
                         IP="[WEBSITE_IP]"
                         Header="[WEBSITE_HEADER]" />

<iis:WebDirProperties
                         Id="WebSiteProperties"
                         DefaultDocuments="default.aspx"
                         AnonymousAccess="no"
                         BasicAuthentication="no"
                         WindowsAuthentication="yes" />

<iis:WebApplication
                         Id="WebSiteWebApplication"
                         Name="[WEBSITE_DESCRIPTION]"
                         WebAppPool="WebAppPool" />

</iis:WebSite>

</Component>

Any thoughts of what might be wrong? Could this be a bug in WiX? It is 
version 3.5.
Thanks in advance,

M. Kurpel

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to