
nbeaupre1.5524913010192334E12 asked a question.
Install prerequisite at initialization
I have a custom action to validate my serial number through a DLL. This DLL require MS C++ runtime merge module. These runtime are included in my project, but associated to a feature. When I validate the serial, the feature are not installed yet, so, the runtime are not installed. How may I install the MS C++ runtime library before doing anything?
Thanks,
http://blog.deploymentengineering.com/2006_11_01_archive.html
I tried to build a setup prerequisite with the vcredist package, but I had a hard time finding the install conditions. While googling the subject, I found an easier solution. Since my serial validation dll is very simple, it only require the msvcr80.dll file and its manifest. So, I included these two file along my serial validation dll in the SUPPORTDIR. That way, I don't need to have the whole package installed before the setup. The files are copied there and deleted after install.
Thanks !