Hi,
Yes, you can try to create a wrapper DLL or EXE file and it should work. After you create the wrapper, you can call it using the
"Launch attached file" or
"Call function from attached native DLL" custom actions and in order for that wrapper to find the third party DLL, you should place the third party DLL in the "Windows Volume -> Temporary" folder from the "Files and Folders" page using the [Temporary File] toolbar button.
Another workaround (maybe easier), is to use the
"Run Windows PowerShell Script" predefined custom action, and call your DLL functions using PowerShell script.
However, you can first try to see if the third party DLL is not already a native Windows Installer DLL.
Best regards,
Eusebiu
FOLLOW US
Get the latest news in Application Packaging