My application is compiled with VS 2008 SP1. The installation I created with AI runs correctly on most machines, but on others (primarily XP, though not every XP) it fails.
I finally narrowed it down a non-existent VS 2008 CRT. When I do a serial validation, the validation is done by a DLL, which was created/compiled in VS 2008 SP1. Since the computer doesn't have that, the install fails.I read through the documentation and found the section about the merge modules, so I've added the "Visual C++ 9.0 CRT..." MSM for the CRT as well as the Policy in the Merge Modules section. That did not fix the problem, and I suspect that it's because this doesn't get install until later in the process, whereas my DLL that validates the Serial Number is called early in the initial phase of the install. Or maybe I'm misunderstanding what the MSM merge modules do...
I have confirmed that the problem is the CRT, because if I first manually install the executable for the CRT Redistributale on the computer, then the my application's install works.
So what is the correct approach for handling this?
--- Am I using the MSM merge module incorrectly, and if so, how do I configure it so that it's put in place at the begining so the Serial Validation doesn't error out?
--- If the solution is to install the VC Redistributable executable, how would I check if the CRT is already in place, and how would I launch the redistributable early in the process?
--- Or is there a better solution than the two I'm thinking of?
Thank you
Marcio
FOLLOW US
Get the latest news in Application Packaging