02-05-2009 07:57 AM
Hello,
I'm making application with LabView 8.6.For this application I'm using DSC module and NI OPC servers. I have compiled installation and start it on target PC. When I start application it searching NVIORef.dll file. On the target PC I have install DSC module and NI OPC Servers, but it doesn’t install this file.In the compilation setups I have checked "NI Data Socked", "NI Enhanced DSC Deployment Support for LabView 8.6", "NI LabView Run-Time Engine 8.6", MAX 4.5 and "NI Variable Engine" for Additional Installers.
In the compiling of the application I have checked "Enable Enhanced DSC Run-Time support" .
What shuld to do so LabView add NVIORef.dll file to my installation. Ventsislav Angelov
02-06-2009 10:22 PM
Are you usign LV-RT? Here is a knowledgebase article that discusses the issue.
Mike...
02-07-2009 11:59 AM
Hello Mike,
No, my solution is for normal PC with Windows XP. I just can't found what I'm do wrong in the Build Specifications. In the Dependencies tree I can see this file (NVIORef.dll), but it doesn't include in the Application build and Installer build. I can install this file on target machine manual, by using distribution package, but I want this to be done automatically by My Installer.
Thanks in advance for help.
Ventsislav Angelov
02-17-2009 07:53 AM
Hi Ventsislav
I have no idea what is causing this problem, so since noone replied with a good answer so far, I will forward your question to our specialists. I will come back to you as soon as we manage to figure it out.
Best regards
02-18-2009 01:54 AM
Hi again
I found some information on this topic. This is a known issue. You can try to run the installation on a PC without LV development system installed and it should work. if you need to run it on a PC with devel. system installed, you can try renaming the.dll file in your system temporarily in order to be able to run it.
Additionally, you can play with moving this dll to a different location in build specifications (but to a place, where LV would look for it, so check your patch settings both in development & runtime)
Let me know if it helped.
04-21-2009 03:30 PM
I too am experiencing the same problem. I am trying to install my program onto a machine (PCrunning windows XP) and when I run it I get an error that it's missing nvioref.dll. I too can see it in the dependancys but the installer evidently does not install it.
I don't really understand the last reply (solution). Can someone ellaborate?
Thanks
Todd
04-27-2009 03:19 AM
Hi
I will try to make the solution more clear.
If the target machine, where you want to install your application has LV Development System, then look for an existing nvioref.dll on it (prior to installation) and rename it to something else. If the target machine doesn't have LabVIEW, let us know the following things:
- do you have LabVIEW Run-Time engine installed there, or are you installing it together with your application?
- what software versions are you using?
- which options to you select in "Additional Installers" configuration box of your build specifications?
04-28-2009 02:12 PM
Thanks for the reply,
I am trying to install onto a PC that already has only "Measurement and Automation Explorer" installed. It does not have a complete devleopment system installed. I am tring to install the Runtime engine with my instillation as I have NI LabVIEW Run-Time Engine 8.6.1 and NI Enhanced DSC Deployment Support for LabVIEW 8.6.1 both checked under "Additional Installers".
Thanks
Todd
04-29-2009 02:24 AM
Hi Todd
Try to do the following: search your system for the nvioref.dll file and see if you can find any prior to installation. Don't forget to look for hidden/system files as well. If you have MAX (=Measurement & Automation Explorer) this means that you have/had some NI software installed before (like DAQmx drivers). The above-mentioned file can be sitting somewhere.
In my case I found it in 9 locations (see screenshot)
04-29-2009 10:04 AM
Maciej,
The target computer does have that fil in 4 different locations. What I would like is for the installer to include that file and then deploy it to a know location. This project will be for both PCs that have NI software and those that do not. I have not tried to install on a PC that does not have any NI software.
Thanks
Todd