Hi there,
I try to extract the self-register information for a COM file written
with VB6 a long time ago.
If I use regsvr32 to register the file manually on Win7 64-bit it works
fine. But when I try to extract the information using heat with the
following command line, just the file tag is generated, without having
the com information extracted.
Command line:
heat file file.dll -sfrag -srd -suid -svb6 -out file.wxi
Result:
heat.exe : warning HEAT5150 : Could not harvest data from a
file that was expected to be a SelfReg DLL: path\to\file.dll.
If this file does not support SelfReg you can ignore this
warning. Otherwise, this error detail may be helpful to
diagnose the failure: Ein Aufrufziel hat einen Ausnahmefehler
verursacht.
When I use Dependency Walker I can see, that a delay-load dependency to
GPSVC.DLL was not found. That might be, because I am running a Windows 7
64-bit machine, but the DLL is for a x86 architecture, but again:
registering the file using regsvr32 works fine. I searched the internet
and found an article [1] where the solution is to change the
architecture of the dll to 64-bit, but that is no option to me.
So is there an other way to have the file self-registered during
installation except using 2 custom actions to call regsvr32 and regsvr32 /u
Regards, Michel
[1]
http://social.msdn.microsoft.com/Forums/en-IE/vcgeneral/thread/93f8509b-b6e8-45a8-81a4-a7a127385d84
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users