05-04-2011 11:12 AM
Hi
I have a problem regarding the execution of an exe after installation on another computer than the development one.
The problem seems to be from NI_AALPro.lvlib. Multiple error messages appears because I use Analysis palette functions.
The library is copied by the installer in the application directory in data subfolder.
Any idea?
Thanks.
05-04-2011 11:17 AM
You need to explicitly include any VIs that you call dynamically in your build. The error you are getting is because it cannot find the VI you are trying to call. If you are using the runtime engine the normal paths for the native LabVIEW subVI are not there.
06-15-2011 10:38 PM
That cannot be right. The installer creates the environment entries that point to where the libraries are. We have just had the same problem, which occurred after loading LV8.0 back onto a machine that already had LV2010 installed. Somehow apps that used the NI_AALPro.lvlib made in 8.6.1 or 2010 could no longer find their libraries. This is an NI defect I think. It must be relatively common that people build .exe's in LV8.6 say, and then install them on a machine with LV2010 also installed. If the LV2010 based apps then fail, that would be most dissapointing. We will do some more testing.