Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1377
  • Last Modified:

WIX -problem registering COM.

I am using WIX to create MSI package. We use C# and .Net3.5 version. I am getting the following error when I register the com object.
Hresult 2147024770.

Btw, I am on Vista.


Can someone please explain what is going on?
Thanks much.
<Directory Id ='ComDLL' Name ='Com'>
   <Component Id ='Com' Guid=MyGuid' Win64='yes' DiskId='1'>
       <File Id='DDM_Support.dll' Name='foo' Source='..\..\..\..\Foo.dll' SelfRegCost="1"/>
</component>
</directory>

Open in new window

0
anuvirenkapoor
Asked:
anuvirenkapoor
2 Solutions
 
xberryCommented:
I did browse a bit on the net for you and found this (possible) solution
quite interesting:

http://www.dependencywalker.com/
0
 
Rory de LeurCommented:
Erro translation: The specified module could not be found

Can be related to two things:
- The path to the dll is incorrect
- Missing depending dll like MSCOMM32.OCX

Ps. You can check this by registring the dll by hand with: regsvr32 C:\path\to\foo.dll
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now