Fitims: I suspect that your Default Web Site (even though stopped) is configured to use IP: All Unassigned and Port: 80.
Your problem is coming from the way the IIS works (which I don't fully understand). Here is how I think that this really happens. IIS associates Websites to its meta-table as an array. -Usually-, Default Web Site is configured to use "All Unassigned: 80" as its IP: Port combination. This combination is listed in the meta-table as array position [0]. You have created another website (your IntranetSite) with the combination "All Unassigned: 80". I suspect if you look at the IIS meta-table that site would be at some array position >0. As I understand it, the IIS rule is that you can have one and only one web site running under IIS under a specific IP / Port / Host Header combination. You have more than one in the IIS meta-table, but only one running. I think that the Windows Installer queries the IIS meta-table for a match (or matches) to the IP / Port / Host Header settings that you would define in your WXS file. In your case, you have more than one record returned from the query, in which case array position [0] (Default Web Site) is the first record and the target of the installation. We get around this problem by creating a dedicated IP address on our servers that are the intended target for our applications. We then have our server team create DNS entries that point to the IP addresses. We give our client applications the DNS entry so that if we have to change IPs or servers, it is just a case of changing the link (not the client app). Hope this helps. David Adams MSN MessengerID: [EMAIL PROTECTED] > >Hi Morten, > > > >I really do appreciate the help :-). Thanks a lot. > > > >I am currently using V2. And I am using exactly what you mentioned ie. > > > ><WebSite Id="Inranetsite" Description="Intranet > > > > >As per changing the Port, that will not be possible since I have no >rights to do it (and the production server might have the Default Web >Site running as well), so I need another way to install on a different >Web site specifying the Description only. > > > >Thanks > > > >Fitims > > > >________________________________ > >From: Lerudjordet, Morten Minge >[mailto:[EMAIL PROTECTED] >Sent: 01 November 2006 12:09 >To: Skenderi, Fitim >Subject: SV: WebSite install on different site > > > >Are you using V2 or V3? > > > >Try to set the Description to you site name, may also want to use >ConfigureIfExists="no" so not to remove site on uninstall (experiment a >bit here). > ><iis:WebSite Id="DefaultVitalSite" Description="Intranet" > > >Check to see if also Default Web Site uses port 80, this may cause a >conflict even if it is stopped. Try to change it to another port and try >again. > >Morten > > > > >________________________________ > > > Fra: Skenderi, Fitim [mailto:[EMAIL PROTECTED] > Sendt: 1. november 2006 12:39 > Til: Lerudjordet, Morten Minge > Kopi: wix-users@lists.sourceforge.net > Emne: RE: WebSite install on different site > > Hi Morten, > > > > Thanks very much for the prompt response. > > > > Well actually our Default Web Site is not active (is stopped), >so Intranet Site uses port 80. See The picture below: > > > > > > > > > > Thanks again > > > > Fitims > > >________________________________ > > > From: Lerudjordet, Morten Minge >[mailto:[EMAIL PROTECTED] > Sent: 01 November 2006 11:08 > To: Skenderi, Fitim > Cc: wix-users@lists.sourceforge.net > Subject: RE: WebSite install on different site > > > > <WebSite Id="Intranet" Description="Intranet"> > > <WebAddress Id="AllUnassigned" IP="*" Port="80" /> > </WebSite> > > This will install the component for the site with portnumber 80, >this is usually Default Web Site. > If you want to install to a different site you have to set it's >port number in Port="Port number of site you want to install to" > > I use a VBScript to first get and set where my compnent is >installed. > > <iis:WebSite Id="Site" Description="[TARGET_WEB_SITE]"> > <iis:WebAddress Id="InstallPort" >Port="[TARGET_PORT]" /> > </iis:WebSite> > > Morten > ><< image001.jpg >> >------------------------------------------------------------------------- >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 _________________________________________________________________ Try Search Survival Kits: Fix up your home and better handle your cash with Live Search! http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=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