[wix-users] Unable to harvest reg entries from 64bit .Net DLL

Nir Bar nir.bar at panel-sw.com
Wed Sep 2 22:31:02 PDT 2020


You can use https://github.com/nirbar/WixHeatATLHarvesterExtension

It is a WiX Heat extension that does exactly that. You'll need to build it from source and then add it to heat command line


--

Nir Bar

WiX Expert




---- On Thu, 03 Sep 2020 00:47:33 +0300 Fredrik Orderud via wix-users <wix-users at lists.wixtoolset.org> wrote ----


Thanks for the tips Jacob.

Unfortunately, regasm doesn't work for me since my project uses custom
[ComRegisterFunction] methods for additional registry entries. Regasm
doesn't seem to pick up these extra entries like heat does. The
FireGiant extension might be more relevant though, but I would prefer
a license-free alternative.

Fredrik

On Wed, Sep 2, 2020 at 6:44 PM Hoover, Jacob <mailto:Jacob.Hoover at greenheck.com> wrote:
>
> I know Bob closed it stating no x64 support, but what happens if you manually invoke regasm with the /tlb switch, and then have heat harvest the settings from there?
>
>
>
> Short of that, it looks like the FireGiant extension supports x64… https://www.firegiant.com/wix/wep-documentation/harvesting/selfreg/
>
>
>
> From: wix-users <mailto:wix-users-bounces at lists.wixtoolset.org> On Behalf Of Fredrik Orderud via wix-users
> Sent: Wednesday, September 2, 2020 8:32 AM
> To: mailto:wix-users at lists.wixtoolset.org
> Cc: Fredrik Orderud <mailto:forderud at gmail.com>
> Subject: [wix-users] Unable to harvest reg entries from 64bit .Net DLL
>
>
>
> I'm experiencing the following error when attempting to harvest
> registry entries from a 64bit .Net DLL (assembly):
>
> heat.exe(0,0): warning HEAT5150: Could not harvest data from a file
> that was expected to be a SelfReg DLL: filename.dll.
> If this file does not support SelfReg you can ignore this warning.
> Otherwise, this error detail may be helpful to diagnose
> the failure: Unable to load file: filename.dll, error: 193
>
> Harvesting registry entries from the same DLL works nicely in 32bit,
> so the problem appears to be 64bit-related.
>
> I’ve just opened https://github.com/wixtoolset/issues/issues/6244 in
> this issue, but thought it could be useful to also seek assistance
> through the mailing list.
>
>
>
>
>
> Best regards.
> Fredrik
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
>
> NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list