09-11-2013 12:40 PM
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
09-12-2013 10:41 PM
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/
09-12-2013 10:47 PM
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.
09-13-2013 08:44 AM
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
09-16-2013 05:28 PM
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.)?
09-17-2013 12:12 PM
I am moving to VS 2010 and ms 2013. I have NI-DAQmx drivers only. Installer MSI
thanks
George
09-18-2013 03:45 PM
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?