09-10-2010 08:35 PM
I created my applications in MSVC 2008, and they use CVI 9.0.1 libraries. If I install the applications into the same machine I created the (setup.exe) installer *.CDS file, then the install works fine.
However, if I run the installer (*.CDS) output file (setup.exe) in a virtual machine (VM), with bare Windows XP O/S, running the same *.EXE application (that worked on my machine) did not work. It gave the error. The CDS file is set up to install the CVI to the machine (not subdirectory of the project).
c:\Program Files\myApp.exe
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
When I uninstall the application, restart the VM, and re-install the application again, I get the same error. When I copy the working files from my machine directly into the VM, I get the same error!
When I installed a simple (hello world-type) CVI application, I actually get the same error...
Question: is the CVI-RTE not getting installed correctly? is there a setting in the Distribution that I am not selecting?
Thanks.
09-13-2010 10:46 AM
In my experience, this message appears when the Microsoft VC runtime is missing from the target machine, it doesn't have anything to do with the CVI runtime. You have a number of options, which one works for you depends on a number of things, not all of which I know or indeed understand:
Hope that helps.