This turned out to be the best solution:
<iis:WebSite Id="WebSiteID" Description="A_Web_Site" SiteId="123456789"
AutoStart="no" StartOnInstall="no" Directory="DIR ">
<iis:WebAddress Id="Web1" Port="80"/>
<iis:WebAddress Id="Web2" Port="81"/>
</iis:WebSite>
-
Lars Augensen
Software Engineer
-----Original Message-----
From: Lars Augensen [mailto:[email protected]]
Sent: 10. mai 2012 10:10
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Multiple port bindings in WebAddress property
"80,81" just defaults to port 80, 81 seems to be ignored.
Having two "port" properties yields this:
'Port' is a duplicate attribute name
Creating two website elements then seems the way to go, but won't this result
in two different websites?
-
Lars Augensen
Software Engineer
-----Original Message-----
From: Rob Mensching [mailto:[email protected]]
Sent: 25. april 2012 00:47
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Multiple port bindings in WebAddress property
Really? That doesn't work? I kinda' expect it would work. if it doesn't, the
error message from the log file owuld be interesting.
On Mon, Apr 23, 2012 at 5:18 AM, Neil Sleightholm <[email protected]>wrote:
> You can't do that but you can create 2 <iis:Website> elements one for
> port
> 80 and other 81 - that has worked for me.
>
> Neil
>
> Neil Sleightholm
> [email protected]<mailto:[email protected]>
>
>
> On 23 Apr 2012, at 13:00, Lars Augensen wrote:
>
> Hi, my apologies if this is covered somewhere I have yet to discover, but:
>
> Is it possible to create multiple bindings with the WebAddress
> property, like so:
> <iis:WebAddress Id="AllUnassigned" Port="80,81" /> or <iis:WebAddress
> Id="AllUnassigned" Port="80" Port="81" /> ?
>
> I suspect that this hasn't been covered anywhere?
>
>
> Lars Augensen
> Software Engineer
> [email protected]<mailto:[email protected]> |
> Phone +47
> 2150 2572> | Mobile +47 40224293
>
> Confirmit® [everywhere]
> Software for Customer Feedback, Employee Feedback, and Market Research
>
>
> Confirmit AS, Karenslyst allé 56, 0277 Oslo, Norway
> www.confirmit.com<http://www.confirmit.com><http://www.confirmit.com/>
> | Main +47 2150 2500 | Fax +47 2150 2501
>
> The information contained in this email message may be privileged,
> confidential or exempt from disclosure under applicable law. If you
> are not the intended recipient, you are hereby notified that any use,
> dissemination, distribution or copying of this transmission is
> strictly prohibited. If you have received this communication in error,
> or if any problems occur with transmission, please notify the sender
> immediately.
>
>
> ----------------------------------------------------------------------
> -------- For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
>
> ----------------------------------------------------------------------
> -------- For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat
landscape has changed and how IT managers can respond. Discussions will include
endpoint security, mobile security and the latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat
landscape has changed and how IT managers can respond. Discussions will include
endpoint security, mobile security and the latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users