You should be able to use tallow. Use the -s parameter instead of -c.

 

Thanks!

Doug

 

From: Xin Liu (Person Consulting) 
Sent: Tuesday, February 27, 2007 8:10 PM
To: wix-users@lists.sourceforge.net; Visual C++ Special Interest Group;
COM Interop Discussion
Subject: How to get the registration information from COM component

 

I am building the .msi file for a project which is written by other
team. Currently the .msi calls a custom action which invokes regit.exe
(a tool from VS SDK 2005) to register our component bservice.dll.
(bservice.dll is old-style COM component, not a COM interop written in
.net)

 

However, since regit.exe is not redistributable, including and calling
it in the .msi file perhaps is not a good solution. This way is also
highly un-recommended by Wix as the custom action which calls regit.exe
runs out of the control of Windows Installer Service. Furthermore, when
the .msi is running in Vista, the setup can't succeed unless you run it
in elevated mode. So the best idea is to get the registration
information from our .dll file and insert those information into Wix
configuration file when building the .msi file(.wxs file is like the
makefile for building .msi by Wix).

 

Is there a way to get the registration information if we only have the
binary at hand? I have read the code and found that all the registration
are defined in a dependent library called Babel. (for example,
"DllRegisterServer" is defined in Babel, not in our code). In such a
way, I can't see any of the registration information from the code.

 

I have tried to run the tallow.exe provided by Wix to fetch the
information. However, seems tallow.exe is only for assemblies written in
.Net. So the exception System. BadImageFormatException is thrown, which
says "can not load file or assembly". 

 

Thanks,

Xin

-------------------------------------------------------------------------
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