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