Ravi:

I  think that this is more of an IIS issue than one of WiX or the Windows 
Installer.

IIS references websites in its meta-table by <IP address | Port | 
Host-Header(if you have one)>.

By rule, you can have only one running web site under a specific combination 
at a time.  They are referenced by an positional array (0, 1, 2, 3, etc.).  
On a IIS 6 server in its "default" configuration, Default Website is at 
address "All Unassigned" (which is the first IP address on the box) at Port 
80 with no host header.

The reason that it worked when you changed all port numbers is because to 
IIS (& the joined constraint that the IP / Port / <Host Header> creates), 
you created unique entries.  Before that change, your actions would be 
getting done onto the already existing website.

David Adams
MSN MessengerID: [EMAIL PROTECTED]





>From: "Ravi Yellasiri (Aditi)" <[EMAIL PROTECTED]>
>To: John Watson <[EMAIL PROTECTED]>,"Lerudjordet, Morten Minge" 
><[EMAIL PROTECTED]>
>CC: "wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net>
>Subject: Re: [WiX-users] Need help to create a virtual directory
>Date: Thu, 9 Nov 2006 11:22:30 -0800
>MIME-Version: 1.0
>Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by 
>bay0-mc2-f1.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Thu, 9 
>Nov 2006 11:23:00 -0800
>Received: from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93])by 
>sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 37C6012691; Thu,  9 Nov 
>2006 11:22:59 -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 1GiFUG-0007xM-Gbfor 
>wix-users@lists.sourceforge.net; Thu, 09 Nov 2006 11:22:56 -0800
>Received: from mail2.microsoft.com ([131.107.115.215] 
>helo=smtp.microsoft.com)by mail.sourceforge.net with esmtps 
>(TLSv1:RC4-MD5:128) (Exim 4.44)id 1GiFUD-0000Lv-EFfor 
>wix-users@lists.sourceforge.net; Thu, 09 Nov 2006 11:22:56 -0800
>Received: from mailout6.microsoft.com (157.54.69.150) 
>byTK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) 
>withMicrosoft SMTP Server id 8.0.685.15; Thu, 9 Nov 2006 11:22:36 -0800
>Received: from IGT-HUB-01.redmond.corp.microsoft.com ([157.54.69.148]) 
>bymailout6.microsoft.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 9 
>Nov2006 11:22:34 -0800
>Received: from TK5-EXHUB-C102.redmond.corp.microsoft.com ([157.54.70.72]) 
>byIGT-HUB-01.redmond.corp.microsoft.com over TLS secured channel 
>withMicrosoft SMTPSVC(6.0.3790.2786);   Thu, 9 Nov 2006 11:22:33 -0800
>Received: from NA-EXMSG-C132.redmond.corp.microsoft.com ([157.54.72.82]) 
>byTK5-EXHUB-C102.redmond.corp.microsoft.com ([157.54.70.72]) with mapi;Thu, 
>9 Nov 2006 11:22:31 -0800
>X-Message-Info: LsUYwwHHNt1eOjnWK209tC7u8zEs/+hgKqY8LQzhjUs=
>Thread-Topic: [WiX-users] Need help to create a virtual directory
>Thread-Index: AccDmty8EUumrCvuSauOBviGTJMTXQAldPOQ
>Accept-Language: en-US
>Content-Language: en-US
>X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US
>X-OriginalArrivalTime: 09 Nov 2006 19:22:33.0457 
>(UTC)FILETIME=[68181E10:01C70434]
>X-Spam-Score: 0.2 (/)
>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.2 HTML_60_70      
>        BODY: Message is 60% to 70% HTML0.0 HTML_MESSAGE           BODY: 
>HTML included in message
>X-BeenThere: wix-users@lists.sourceforge.net
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: "General discussion for Windows Installer XML 
>toolset."<wix-users.lists.sourceforge.net>
>List-Unsubscribe: 
><https://lists.sourceforge.net/lists/listinfo/wix-users>,<mailto:[EMAIL 
>PROTECTED]>
>List-Archive: 
><http://sourceforge.net/mailarchive/forum.php?forum=wix-users>
>List-Post: <mailto:wix-users@lists.sourceforge.net>
>List-Help: <mailto:[EMAIL PROTECTED]>
>List-Subscribe: 
><https://lists.sourceforge.net/lists/listinfo/wix-users>,<mailto:[EMAIL 
>PROTECTED]>
>Errors-To: [EMAIL PROTECTED]
>Return-Path: [EMAIL PROTECTED]
>
>Hi All,
>
>Thanks for the quick response. I really appreciate it. Sorry, I forgot to 
>append attachment. Please find one. I am using Wix 2.0 to develop the MSI. 
>Looks the sample that Morten Minge Lerudjordet sent is Wix 3.0. One of the 
>comments "<!--
>                Most important ting is the Port of the site, this must
>be uniqe to get a hasselfree install
>                I have no duplicate portnumbers, all mye sites are
>defined on different ports
>        -->"  sounded me interesting. I have different sites that are 
>installed on port 80. That means only one site is going to run at anytime. 
>I changed the port numbers of all the sites and then my MSI worked fine. 
>Does it mean that Wix works only based on the port number rather than Web 
>Site name? Please find the attached file for code. I scrubbed it little. So 
>there might be some typos.
>
>Thanks a lot for your time.
>
>Ravi.
>
>Ravi K Reddy Yellasiri
><http://www.aditistaffing.com/>
>Aditi Staffing at Microsoft
><http://www.aditistaffing.com/>
>MSN
>(425) 421-2219
>________________________________
>From: John Watson [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, November 08, 2006 5:03 PM
>To: Lerudjordet, Morten Minge
>Cc: wix-users@lists.sourceforge.net; Ravi Yellasiri (Aditi)
>Subject: Re: [WiX-users] Need help to create a virtual directory
>
>I would add one more thing to Morten's post. The WebSite tag acts 
>differently when it's nested under a Component and when it's not. If it's 
>under a Component, WiX will cause it to create a new website. If it's not 
>under a Component but under a Product, Fragment, or Module then the WebSite 
>tag acts as a "locator" meaning it will locate an existing web site. For 
>example, if you put it under Product or Fragment and then use "Default Web 
>Site" it'll find the default IIS web site and add your virtual under it 
>instead of creating a new website on a new port. See the docs 
>here<http://wix.sourceforge.net/manual-wix2/wix_xsd_website.htm> for more 
>info.
>
>Regards,
>John
>
>
>On 11/8/06, Lerudjordet, Morten Minge 
><[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> 
>wrote:
>If you do a search in the mailing list you will find the answers. I was
>not able to get you'r attached file, so I can't see where the problem
>is. Here is a sample of how you do it:
>
>
><!-- Targedir is base dir in file structure -->
><DirectoryRef Id="TARGETDIR">
>
><!-- Creates a virual dir -->
><iis:WebVirtualDir Id="VirtualDir" Alias="ServiceLibary/MyService"
>                                   Directory="INSTALLPATH"
>WebSite="InstallSite" DirProperties="DirProps">
>
><!-- INSTALLPATH is the root path of where you'r site is i.e Default Web
>Site = c:\inetpub\wwwroot -->
><iis:WebApplication Id="WebApplication" Name="MyService"
>WebAppPool="DefaultAppPool" />
></iis:WebVirtualDir>
></Component>
>
></DirectoryRef>
>
><iis:WebDirProperties Id="DirProps" Read="yes" Script="yes" />
>
><!-- I get all websites on local machine and based on selection populate
>property TARGET_WEB_SITE with it -->
><iis:WebSite Id="InstallSite" Description="MySite" >
>        <!--
>                Most important ting is the Port of the site, this must
>be uniqe to get a hasselfree install
>                I have no duplicate portnumbers, all mye sites are
>defined on different ports
>        -->
>    <iis:WebAddress Id="InstallPort" Port="[TARGET_PORT]" />
></iis:WebSite>
><iis:WebAppPool Id="DefaultAppPool" Name="[TARGET_APPPOOL]" />
>
>Also remember to save the port number in registry or you will not be
>able to uninstall.
>
>Morten
>
>Date: Wed, 8 Nov 2006 09:47:58 -0800
>From: "Ravi Yellasiri (Aditi)" < 
>[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>>
>Subject: [WiX-users] Need help to create a virtual directory
>To: 
>"wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge.net>"
>        < 
>wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge.net>>
>Message-ID:
>
><[EMAIL PROTECTED] 
><mailto:[EMAIL PROTECTED]>
>rosoft.com<http://rosoft.com>>
>
>Content-Type: text/plain; charset="us-ascii"
>
>Hi,
>
>I am new to the Wix development and trying to develop an MSI. Following
>are the core functionalities of my MSI.
>
>Copy config files to destination directory (webroot)
>Copy a .dll files to the destination
>Create an app pool "MyAppPool"
>Create a (IIS 6.0) virtual directory under an existing web site's web
>directory and point it to the "MyAppPool"
>
>Here is a brief structure of IIS Manager.
>
>Application Pools
>      | AppPool1 (App Pool)
>      | AppPool2 (App Pool)
>      | MyAppPool
>      :
>      :
>Web Sites
>      | Default Website (Web Site)
>      | MySite (Web Site)
>            | ServiceLibrary (Web Dir)
>                  | My Service (Virtual Directory)
>
>
>After I run my MSI, It is supposed to create an Application pool with
>the name "MyAppPool"
>Create an virtual directory "My Service" under the preexisting web site
>"MySite => ServiceLibrary" and set the app pool to "MyAppPool"
>
>After I ran this MSI. It is copying the files into right directory
>(physical) , but creating the Web Directory "ServiceLibrary" under the
>"Default Web Site" and creating Virtual Directory "My Service" under
>that.
>
>Lets say If I delete the "Default Web Site" and Install it again, It is
>installing it under another different web site.
>
>Please find the attached .xml file for my wxs content. I need to wrap
>this up ASAP. Please help me to create a virtual directory under right
>web site.
>
>Thanks Inadvance!!!
>
>Ravi.
>
>Ravi K Reddy Yellasiri
><http://www.aditistaffing.com/>
>Aditi Staffing at Microsoft
>< http://www.aditistaffing.com/>
>MSN
>(425) 421-2219
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
>http://sourceforge.net/mailarchive/forum.php?forum=wix-users/attachments
>/20061108/38f06b07/attachment.html
>
>------------------------------
>
>------------------------------------------------------------------------
>-
>Using Tomcat but need to do more? Need to support web services,
>security?
>Get stuff done quickly with pre-integrated technology to make your job
>easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache
>Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>------------------------------
>
>_______________________________________________
>WiX-users mailing list
>WiX-users@lists.sourceforge.net<mailto:WiX-users@lists.sourceforge.net>
>https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>End of WiX-users Digest, Vol 6, Issue 39
>****************************************
>
>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job 
>easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>_______________________________________________
>WiX-users mailing list
>WiX-users@lists.sourceforge.net<mailto:WiX-users@lists.sourceforge.net>
>https://lists.sourceforge.net/lists/listinfo/wix-users
>


>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job 
>easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


>_______________________________________________
>WiX-users mailing list
>WiX-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-users

_________________________________________________________________
Add a Yahoo! contact to Windows Live Messenger for a chance to win a free 
trip! 
http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us&hmtagline


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to