[wix-users] C++ custom action, Visual Studio 2015, Windows XP/Windows Server 2003

Mihajlo Cvetanović mcvetanovic at gmail.com
Fri Dec 11 03:27:26 PST 2015

The system may be missing appropriate libraries. It's best to build your
custom action library statically linked to CRT: Project properties > C/C++
> Code generation > Runtime library > Multi-threaded (/MT). Also, because
C++ decorates function names you must explicitly undecorate them, so that
MSI engine can call the functions. I declare them as extern "C" and list
them in the .def file that is set in your project: Project properties >
Linker > Module Definition File. Other two undecoration options are
described here: http://stackoverflow.com/q/2133583

On Fri, Dec 11, 2015 at 6:50 AM, Ivanoff, Alex <Alex.Ivanoff at shavlik.com>

> Are there any known issues with C++ custom action built with VS 2015 to
> run on Windows XP/Windows Server 2003?
> Thank you,
> Alex Ivanoff
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/

More information about the wix-users mailing list