If you link with the CRT static libs you will remove dependencies on the VC++ runtime dlls which are probably not installed on your target system.
In the DLL project property page set the /MT option for the release configuration as shown below -
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I'm newby in C++ and Windows Installer technologies. I have implemeted Windows Installer(msi) package with a custom action which is running during one of steps with push button control. That custom action will download and run downloaded msi to install Visual Studio. The Custom Action invokes DLL which I created with C++ and Visual Studio. There are also other functions from DLL which are being run by this package.
The problem is that when I have the VS installed on my PC, the MSI is working excellent and all requred DLL functions are working as expected. But when I uninstall VS and try to install it with my MSI, there is error as in the header above.
Any ideas how to fix it?
Thanks
If you link with the CRT static libs you will remove dependencies on the VC++ runtime dlls which are probably not installed on your target system.
In the DLL project property page set the /MT option for the release configuration as shown below -