Wix CustomAction shall check maintenance policy

Hi,

For my application installer I use the WIX Toolset. I would like to check while installing the maintenance policy.
For that I used the CustomAction of the WIX Toolset. The CustomAction Visual Studio project will pack all the used dlls to a single ‘CustomActionLicenseCheck.CA.dll’.
My problem is that the LexActivator32.dll is a unmanaged dll and that’s why it get not pack to the ‘CustomActionLicenseCheck.CA.dll’. Does somebody have expirience on that?

Best regards

Hi @TeamSuccess,

You can ship both the .dll files with the installer but LexActivator32.dll file cannot be packed into the CustomActionLicenseCheck.CA.dll file

I’m a step further.

I first added the Dlls by “Add Assembly Reference” and copied the LexActivator32.dll to the output folder. This wasn’t working.

Then I went the NuGet Package Manager way and now it works.