Is the error message from a dialog that pops up, or the log? Sometimes,
odd installer errors are really something else that's not 100% related
to the error that gets spit out. Or it might result from an earlier
warning that's not displayed. You might produce a log from the
commandline to get more detail:

 

Msiexec.exe /i yourmsi.msi /l* out.txt

 

You can then get some context regarding what was going on at the time
the error occurred.

 

 

-Matt

 

  _____  

From: Rob Mensching [mailto:[EMAIL PROTECTED] 
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

Reply via email to