02-07-2007 10:04 PM
02-09-2007 09:51 AM
Hi Chin
Lin,
I was able to run the executable on a test machine. The test computer was
free of any National Instruments software. I installed the LabVIEW
Run-time Engine 8.2 from this
website, then ran the executable file. The executable ran without error.
Did you try to run the same executable that you used to build your
installer? To build an installer, you need to first build and executable
that you include in the installer. Try using that executable, and see if
you still get the error.
Please let me know if you have any questions. Best of luck on your
application, and have a great day!!
02-10-2007 07:52 AM
02-13-2007 07:15 AM
02-13-2007 07:35 PM
Hi Jens:
Thanks for your information. From the day one, I was using the correct RTE8.2. I was using the one in the Labview Professional Development System 8.2 CD. I then downloaded the RTE 8.2 from the NI website and they look the same and have the same size.
If what you said is correct, then this is very bad because not many have backup their system before installing any software.
I think my problem maybe due to the fact that my target system is not clean. The system has been used for running LV6.02 program with many other NI drivers installed (DAQ, VISA,....). I am investigating converting my LV6.02 program to LV8.2 to deloy it to my production machines. I can not clean them before installing RTE 8.2. This is just not acceptable. Hofully this is not the root cause.
Thank you.
Chin Lin
02-14-2007 02:29 PM
02-14-2007 02:33 PM
02-27-2007 02:50 AM
Hi:
I finally found out the root cause. Initially I installed the LV RTE 8.2 from the NI Labview 8.2 Dev CD which getting error when running the vi .exe. I then go to the NI website to download the RTE 8.2 which is about 94MB. When executing the setup.exe, there were 5 items to select for installation:
NI Labview RTE 8.2
Variable Engine
Datasocket
Labview Deployable License
USI
I selected only NI Labview RTE 8.2. When installing in progress, I noticed that there were 7 parts in total (these are part of the package and can not be unchecked):
NI EULA Depot
NI MDF Support
NI Logos 4.7
NI Labview RTE 8.2
NI Math Kernel Libraries
NI Service Locator
NI TDMS
After installation, the .exe file was able to execute without problem. So by just installing the RTE 8.2 (lv82runtime.msi), it won't work. Then I uninstalled all the components of RTE8.2 and installed just the NI Labview RTE 8.2 and NI Math Kernel Libraries from my NI Labview 8.2 Dev CD. Now it also work.
So in summary, we need to use the RTE 8.2 from the NI website to install which will automatically install the extra components for us to get the .exe work. I was wrong to assume that we need only the RTE 8.2 to run a labview .exe.
Thank you.
Chin Lin
02-27-2007 06:08 PM
09-21-2007 12:09 PM