From: Gee Chin Lin on
Hi Ching P.:
Yes, the lvanlys.dll was included in the build for all my previous attempts. Now I am getting error as attached file.
I noticed that my RunTime Engine 8.2 was not listed as one of the installed Labview software under the "add/remove program" and also "add/remove program"->"National Instructments Software". It only appears in Measurement & Automation Explorer. I reinstalled RTE8.2 without uninstalled the RTE8.2 first and did not works. I then tried uninstalled and reinstalled the RTE8.2. This time my simple labview program work and I can see the RTE8.2 under "National Instructments Software".
So thank you for your help. I still don't know why it happened this way. Are you able to build and run a simple vi with any library vi in c:\Program Files\National Instruments\LabVIEW 8.2\vi.lib\Analysis\NI_AALPro.lvlib included on a PC with the RTE8.2 only? I attached the simple vi that I used.
Thank you.
Chin Lin


LINEAR_FIT_ERROR.JPG:
http://forums.ni.com/attachments/ni/170/227907/1/LINEAR_FIT_ERROR.JPG


LinearFit_test.zip:
http://forums.ni.com/attachments/ni/170/227907/2/LinearFit_test.zip
From: cphuong on
Hi Chin Lin,

I was able to build both the application (exe file) and the installer without
error.  Without the ability to replicate the error, it is hard to say what
could have caused it.

In addition, it is normal not to see LabVIEW RunTime Engine 8.2 listed in the add/remove program"->"National Instruments Software". 
After LabVIEW 7.1, we no longer list the Run-Time Engines in Add or Remove
Programs.

I'm glad to hear that everything is working well, and sorry
that I cannot give an explanation as to what was causing your issues. 
Please let me know if you have any further questions.
From: Chin Lin on
Hi Ching P.:
 
I was able to build both .exe and installer also but has problem of deploying the .exe to run on a machine with the RTE8.2 installed. So did you try to run the .exe on a PC with RTE8.2 installed (without the Labview Development Software)?
 
If the RTE is no longer listed under Add/Remove Program, then how are we uninstall it in the future? We have to run the installation software to uninstall it?
 
In addition, after a few install/uninstall RTE8.2, why am I able to see it appears under the "add/remove program"->"National Instruments Software"?
 
Thank you.
 
Chin Lin
From: cphuong on
Hi Chin Lin,

I was able to build the application and installer from you VI without
error.  I then took this to a test machine that was free of any NI
software, and ran the installer without issue.  The installer installed
the LabVIEW 8.2 Run-time engine and the program. 

The run-time engine should not appear under Add or
Remove Programs � National Instruments Software if you have the
LabVIEW 8.20 Development Environment on your machine.  If you need to
uninstall the run-time engine specifically you can contact National Instruments
Technical Support for details on how to do this.  If you do not have any
National Instruments software on a computer, and install the LabVIEW 8.2
Run-time engine, that will appear under Add or Remove Programs � National
Instruments Software.

Please let me know if you have any further questions. 
Best of luck on your application, and have a wonderful day!!
From: Chin Lin on
Hi Ching P.:
 
I think you still not very clear of my issue. I was able to use the installer and install my application on the target PC and run my application. But I can not use the .exe generated using the labview builder and run it on a PC with RTE8.2 preinstalled on that PC. So you should try build the .exe and then run it on a PC with RTE8.2 preintalled. Don't use the installer. It also works for me.
 
The reason why I did not want to use the installer is because I already have an existing installer software to deploy my labview project. So I just one to build the .exe and adds this .exe to my own installer.
 
Thank you.
 
Chin Lin