LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Installation problem with nvioref.dll

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 

 

0 Kudos
Message 1 of 22
(7,234 Views)

Are you usign LV-RT? Here is a knowledgebase article that discusses the issue.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 22
(7,213 Views)

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

0 Kudos
Message 3 of 22
(7,196 Views)

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

Best regards,
Maciej Antonik
National Instruments Poland
0 Kudos
Message 4 of 22
(7,116 Views)

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.

Best regards,
Maciej Antonik
National Instruments Poland
0 Kudos
Message 5 of 22
(7,099 Views)

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

0 Kudos
Message 6 of 22
(6,990 Views)

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?

Best regards,
Maciej Antonik
National Instruments Poland
0 Kudos
Message 7 of 22
(6,947 Views)

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

0 Kudos
Message 8 of 22
(6,929 Views)

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)

Best regards,
Maciej Antonik
National Instruments Poland
0 Kudos
Message 9 of 22
(6,921 Views)

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

0 Kudos
Message 10 of 22
(6,908 Views)