I’ve just installed the latest wix3.msi (3.0.3097.0) on XP SP2 with VS2008 rtm and am getting the following error on attempting to open a solution containing a WiX project which includes a dependency on WixUIExtension.
Error HRESULT E_FAIL has been returned from a call to a COM component.
The project is then marked as unavailable in the IDE.
Command line builds still work with this WiX version.
Logged In: YES
user_id=424353
Originator: NO
Hello,
I had the same problems, but it was not a problem of WixUIExtension! I had some subdirectories within my project:
After removing from the wixproj...
<itemgroup>
<folder include="NewFolder1\">
</folder></itemgroup>
... and after CLOSING COMPLETELY DevStudio (yes, just reload doesn't work!!) and reopening the solution, I could open it normally without E_FAIL!
I then just inserted my previously removed resources to the projects' root, and it works for me.
Logged In: YES
user_id=1398667
Originator: NO
I also had this problem, and also found it to be a result of having subdirectories. You can have subdirectories, but you can't include them in the VS2008 project. I'm referencing WixUIExtension in the project and this isn't causing any problems.
Logged In: YES
user_id=2086430
Originator: NO
Duplicate of 1910781, which was fixed as of 3.0.4014