ProblemI’m trying to build a customized cub file to run against my MSI using msival2.exe. I built a DLL with some customized ICE errors and inserted it into the cub file. When I run msival2, it keeps complaining the DLL cannot be run. The detail error is following.
Product: -- Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action MyCustomICE, entry: MyCustomICE, library: C:\DOCUME~1\<emailname>\LOCALS~1\Temp\MSI121.tmp
The most likely problem is the custom action entry points are not properly exported from the DLL. Did you use a .def file or linker /export switch to prevent the exported function names from being decorated?
Content credit also belongs to [Author: Robert Flaming]
[Author: Robert Flaming]