IIS 5.1 (default XP) does allow only 1 web site. IIS 6.0 (default for 2003)
allows multiple web sites, which can be created and configured via the
installers.
Assuming that you are using default configurations, Shayla's code snippet
would overwrite the Default Web Site ("All Unassigned" / Port 80) under
either IIS 5.1 or 6.0.
The reasoning relates to IIS (and its API) more than anything else. In the
IIS metadata, web sites have an index key, name, IP address, port, &
optionally, host headers. The entries in IIS are inserted / updated via a
"Get" operation that accepts IP address, Port, and Host Header parameters.
Since "Default Web Site" is created by default under IIS at index position 0
with an IP of "All Unassigned" under Port 80 with no Host Headers, any WiX
(or other IIS API operation) performed with those parameters would be
changing the actual "Default Web Site". The API creates a new web site if
one does not exist under the parameters or updates an existing one that does
("Default Web Site" in this case).
Shayla: Create an additional IP address on the server. Use that IP
specifically on the @Website element. Assuming that you are on 2003 (IIS
6.0), it should create your new site on that IP address and have no effect
on the "Default Web Site".
David Adams
Subject: Re: [WiX-users] Create new IIS WebSite
Date: Wed, 28 Feb 2007 15:46:04 -0800
MIME-Version: 1.0
Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by
bay0-mc5-f1.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Wed, 28
Feb 2007 15:45:20 -0800
Received: from sc8-sf-list1-new.sourceforge.net
(sc8-sf-list1-new-b.sourceforge.net [10.3.1.93])by
sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 38FA512B31; Wed, 28 Feb
2007 15:45:20 -0800 (PST)
Received: from sc8-sf-mx1-b.sourceforge.net
([10.3.1.91]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net
with esmtp (Exim 4.43)id 1HMYTg-0008Nh-MFfor
Received: from mx1.greendotcorp.com ([63.161.119.204])by
mail.sourceforge.net with esmtp (Exim 4.44) id 1HMYTf-0006sj-ALfor
X-Message-Info: LsUYwwHHNt1esbP3tsUQs8jdpb9Hr08qyEv2p2nR1GA=
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [WiX-users] Create new
IIS WebSite
Thread-Index: Acdbkdrtr+fWHwhZTxqwSqvDOyGG0gAAEKuw
X-Spam-Score: 0.0 (/)
X-Spam-Report: Spam Filtering performed by sourceforge.net.See
http://spamassassin.org/tag/ for more details.Report problems
tohttp://sf.net/tracker/?func=add&group_id=1&atid=2000010.0 HTML_MESSAGE
BODY: HTML included in message
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: "General discussion for Windows Installer XML
toolset."<wix-users.lists.sourceforge.net>
<http://sourceforge.net/mailarchive/forum.php?forum=wix-users>
X-OriginalArrivalTime: 28 Feb 2007 23:45:20.0981 (UTC)
FILETIME=[821F9850:01C75B92]
IIS 5.1 (default with XP) only allows one website to be
installed/running at a time, so that's probably why it replaces your
'Default Web Site'.
IIS 6.0 should allow you to install multiple websites, we do it all the
time. I don't know if that's the default version for Windows Server
2003, but that's our current set-up and it works great.
-Matt
_____
Sent: Wednesday, February 28, 2007 3:39 PM
Subject: [WiX-users] Create new IIS WebSite
I am trying to create a new web site in IIS.
Here is my code.
<WebSite Id='Web Sites' Description='My Web Site' Directory='INSTA
LLDIR' StartOnInstall='yes'>
<WebAddress Id="AllUnassigned" Port="14465" />< /SPAN>
</WebSite>
If I use port 80 it renames the 'Default Web Site' to 'My Web Site'. If
I use a random port number I get an error (Failed to read IIsWebs table.
(-2147024774)).
What I am trying to do is create a new web site on windows 2003 and
windows XP. Can anyone please help??
TIA
Shayla
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
_________________________________________________________________
The average US Credit Score is 675. The cost to see yours: $0 by Experian.
http://www.freecreditreport.com/pm/default.aspx?sc=660600&bcd=EMAILFOOTERAVERAGE