Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Driver look up

How can on programmability check to see if the Ni Driver are installed and what version as a prerequisite during installation?  We sell multiple products so we would like to have the customer install the NI drivers only once.

 

Thank you

0 Kudos
Message 1 of 7
(5,832 Views)

Hi,

 

When building an installer, using the additional installers option allows for installer for other NI products to install. This will automatically skip installation is the drivers are already present. These links might help.

 

Building an Installer

http://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/build_installer/

 

Additional Installers

http://zone.ni.com/reference/en-XX/help/371361J-01/lvdialog/addl_install_info_db/

Evan See
National Instruments
0 Kudos
Message 2 of 7
(5,811 Views)

Hi,

 

After rereading your question, I wanted to clarify when you are trying to check for versions and how you are trying to install the drivers. Are you trying to install driver during a built installer? Are you working with Measurement Studio to build the application or something else?

 

Any details you could provide would assist in a better answer.

Evan See
National Instruments
0 Kudos
Message 3 of 7
(5,808 Views)

Hi Evan,

 

Thank you looking into my question.  I am developinging a series of applications for educational labs.  4 differents one so far.  These are written in Vb.net with measurement studio.  The inital driver intall is about a 1/2 hour.  So if a customer install our cardiac lab then buy a muscle phy package later. I would like to have make install app that would look to see if the driver exists, and later see if the driver version I am using, look for old driver version is install, and prompt for a new version.

 

Thank you

 

George

0 Kudos
Message 4 of 7
(5,799 Views)

Hi George,

 

What version of Measurement Studio and Visual Studio are you using? Additionally, what type of installer are you using (aka WiX, msi, etc)? Also, what type of drivers are you trying to include (NI-DAQmx, VISA, etc.)?

Evan See
National Instruments
0 Kudos
Message 5 of 7
(5,772 Views)

I am moving to VS 2010 and ms 2013.  I have NI-DAQmx drivers only.  Installer MSI

 

thanks

 

George

0 Kudos
Message 6 of 7
(5,764 Views)

Hi,

 

When the drivers' installers are called they typically should automatically check to ensure that they are not already installed and if so skip the installation. I have included some information about building these installers in Measurement Studio.

 

Distributing Measurement Studio Applications

http://digital.ni.com/public.nsf/allkb/ED87C183E056CAC386256DF1004E54C6

http://digital.ni.com/public.nsf/allkb/6677098983C36F9086256CFE007F457A?OpenDocument

 

Are you creating the MSI through these methods or differently?

Evan See
National Instruments
Message 7 of 7
(5,743 Views)