I reported this bug a little while back. If the error has not been fixed, it is an array out of bounds exception that occurs if there is more than one website in IIS. Somehow this bug was introduced a couple of versions back because it did not exist (I know) in 3309.

I think that the bug is in the IIS custom action.

David Adams
MSN MessengerID: [EMAIL PROTECTED]





From: Zane Teh <[EMAIL PROTECTED]>
To: Rob Mensching <[EMAIL PROTECTED]>,"'wix-users@lists.sourceforge.net'" <wix-users@lists.sourceforge.net>
CC: Suresh Parameshwar <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] New Website install
Date: Wed, 22 Nov 2006 15:02:09 -0800
MIME-Version: 1.0
Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by bay0-mc8-f18.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Wed, 22 Nov 2006 15:02:26 -0800 Received: from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93])by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid AC00612629; Wed, 22 Nov 2006 15:02:25 -0800 (PST) Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43)id 1Gn16j-0000eM-DUfor wix-users@lists.sourceforge.net; Wed, 22 Nov 2006 15:02:21 -0800 Received: from mailb.microsoft.com ([131.107.115.215] helo=smtp.microsoft.com)by mail.sourceforge.net with esmtps (TLSv1:RC4-MD5:128) (Exim 4.44)id 1Gn16i-0000bA-FKfor wix-users@lists.sourceforge.net; Wed, 22 Nov 2006 15:02:21 -0800 Received: from TK5-EXHUB-C101.redmond.corp.microsoft.com (157.54.70.76) byTK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) withMicrosoftSMTP Server (TLS) id 8.0.685.20; Wed, 22 Nov 2006 15:02:09 -0800 Received: from NA-EXMSG-C105.redmond.corp.microsoft.com ([157.54.52.48]) byTK5-EXHUB-C101.redmond.corp.microsoft.com ([157.54.70.76]) with mapi;Wed, 22 Nov 2006 15:02:09 -0800
X-Message-Info: LsUYwwHHNt0p/xbxnGVOqGMjWueMDc2vDGPG+sWK8jE=
Thread-Topic: [WiX-users] New Website install
Thread-Index: AccNwOBpMh1MZcGzSUS3+PzPCIpVWAAAzWPQAAAQKjAAAB0lUAAAeocAAABN9dAAMFsG4A== References: <[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US
X-Spam-Score: 1.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.0 HTML_MESSAGE BODY: HTML included in message1.2 HTML_ATTR_UNIQUE BODY: HTML appears to have random attributes intags
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]
X-OriginalArrivalTime: 22 Nov 2006 23:02:26.0627 (UTC) FILETIME=[4734D930:01C70E8A]

Hi Rob,

We did some investigation and found out our code worked for build 2.0.3719.0, but we got the same error for builds 4117 and 4611. Do you know of any bugs or any changes in the schema that could have caused this? Or is there a work around with the later builds?

I have pasted in our code below. Thanks.

--zane


<?xml version='1.0'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'>
<Product Id='775673B7-FFA7-4556-B6F1-F0168CBACC7D' Name='Test Website Installer ($(env.BUILDTYPE)) ($(env.BUILDVERSION))' Language='1033' Version='$(env.BUILDVERSION)' Manufacturer='Microsoft Corporation'> <Package Id='CB7E7DE9-08B1-4667-90B7-777EB1F8936F' Description='Test Website Deployment' Comments='Windows Installer package to deploy Test Website' InstallerVersion='200' Compressed='yes'/>
    <Media Id='1' Cabinet='Test.cab' VolumeLabel='Disk1'/>
    <Property Id='INSTALLLEVEL'>10</Property>
    <Property Id='ALLUSERS'>2</Property>
<Feature Id='TestWebsiteFeature' Title='Test Website' Description='Installs the Test Website' Level='1'>
      <ComponentRef Id='TestWebSite_Install' />
    </Feature>
    <WebDirProperties Id='ReadAndExecute'
                Read='yes'
                Write='no'
                Script='yes'
                Execute='yes'
                AnonymousAccess='yes'
                DefaultDocuments='default.aspx' />
    <Directory Id='TARGETDIR' Name='SourceDir'>
<Component Id='TestWebSite_Install' Guid='31846218-E623-4055-8D99-DDBF784F8121' DiskId='1'> <WebSite Id='TestWebSite' Description='Test Web Site' Directory='TARGETDIR' AutoStart='yes' ConfigureIfExists='yes' DirProperties='ReadAndExecute'> <WebAddress Id='TestWebSiteAddress' IP='*' Port='83' Secure='no'/>
        </WebSite>
      </Component>
    </Directory>
  </Product>
</Wix>


From: Rob Mensching
Sent: Tuesday, November 21, 2006 3:52 PM
To: Zane Teh; 'wix-users@lists.sourceforge.net'
Cc: Suresh Parameshwar
Subject: RE: [WiX-users] New Website install

Not off the top of my head. You might try debugging in and seeing what is exactly going wrong. I'm not currently in a place where I can try an IIS install.

From: Zane Teh
Sent: Tuesday, November 21, 2006 15:44
To: Rob Mensching; 'wix-users@lists.sourceforge.net'
Cc: Suresh Parameshwar
Subject: RE: [WiX-users] New Website install

Thanks for the quick reply Rob. I installed the build 2.0.4611.0 but seem to getting the same error. Any ideas?

--zane
From: Rob Mensching
Sent: Tuesday, November 21, 2006 3:30 PM
To: Zane Teh; 'wix-users@lists.sourceforge.net'
Cc: Suresh Parameshwar
Subject: RE: [WiX-users] New Website install

That's a pretty old build. I believe there was a couple bug fixes more recent than that which may fix the issue you are seeing. Try grabbing a newer version.

From: Zane Teh
Sent: Tuesday, November 21, 2006 15:27
To: Rob Mensching; 'wix-users@lists.sourceforge.net'
Cc: Suresh Parameshwar
Subject: RE: [WiX-users] New Website install

We are using v2.0.4117.0

From: Rob Mensching
Sent: Tuesday, November 21, 2006 3:24 PM
To: Zane Teh; 'wix-users@lists.sourceforge.net'
Cc: Suresh Parameshwar
Subject: RE: [WiX-users] New Website install

What version of the WiX toolset are you using?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zane Teh
Sent: Tuesday, November 21, 2006 15:01
To: 'wix-users@lists.sourceforge.net'
Cc: Suresh Parameshwar
Subject: [WiX-users] New Website install

Hi All,

I am new to WIX and am trying to install basic website but am running into issues. When I try installing the website I get the following error:

Failed to read IIsWebs table.  (-2147024774   )

Here is the code and settings I currently have:


1.       Snippet of code from Wix:
...
<Component Id="TestWebSite_Install" Guid="896d5f1f-eb73-461c-9fee-43c99577eb26"> <WebSite Id="TestWebSite" Description="Test Web Site" Directory="WEBSITEDIR">
                <WebAddress Id="TestWebSiteAddress" IP="*" Port="80" />
              </WebSite>
            </Component>
...

2. There are other websites installed on Port 80 but with different Headers.

3.       There is NO "Test Web Site" that already exists

4. When I specify IP="All Unassigned" OR Port=<Port# different from 80> OR Header="localhost" I get the same error.


So far I have only gotten the website to install successfully when I have already manually preinstalled a website called "Test Web Site" but even with this I ran into issues:


1. I tried changing the port number to this preinstalled website from 80 to 81 and my MSI installed without errors and changed the port back from 81 to 80. Although this worked, it did not work when this site was preinstalled on port 80 and my MSI had port 81. When I tried this I still received the same error as above.

2. When I added Header="localhost" to the Website attribute in my code, the MSI actually overrode a preexisting website that was installed with a Header="localhost". Even when I changed my preinstalled website named "Test Web Site" to have a Header="localhost" when I tried my MSI it would override a different preexisting website.


My goal is to have it so that I do NOT need to manually install a "Test Web Site" website before I run the MSI. If anybody could help me with this problem or give insight on why I am having these issues, it would be greatly appreciated. Thanks!


--zane













-------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

_________________________________________________________________
All-in-one security and maintenance for your PC.  Get a free 90-day trial! http://clk.atdmt.com/MSN/go/msnnkwlo0050000002msn/direct/01/?href=http://clk.atdmt.com/MSN/go/msnnkwlo0050000001msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail


-------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to