04-25-2007 08:53 AM
04-25-2007 09:51 AM
Option 1) Use a batch file to
launch your Visual Studio and DAQmx setup programs. This batch file
will launch your Visual Studio setup installer that you create and then
launch the downloadable DAQmx driver.
Option 2) If you have LabWindows/CVI 8.0 and later, you can create a LabWindows/CVI installer that will distribute your Visual Studio application, the DAQmx driver, and the
appropriate Measurement Studio merge modules. The needed merge modules for
Measurement Studio are referenced in the Deploying Measurement Studio Windows Applications help topic in the NI Measurement Studio Help.
One thing I wanted to mention that helps ease your installation time, is that DAQmx does have several different "watered-down" Run-Time Engine versions. The Run-Time Engine versions are currently only available for DAQmx 8.3 but the DAQmx 8.5 ones should be available soon on the website. You can take a look at the 8.3 ones here to give you an idea of what options are there. Or you can always just install the normal 8.5 DAQmx installer.
05-22-2007 05:10 PM
05-23-2007 09:44 AM
03-25-2008 02:14 PM
1) Check the registry for the HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\NI-DAQmx\CurrentVersion\Path key.
2) If the key is not there, then you know that DAQmx is not installed.
3) If the key is there, then we check on the actual computer for that path to make sure that it exists. The reason we do that is to make sure that there is not a corrupt installation that left behind registry keys.
Any chance someone has a simple code-snippet to do this?
03-25-2008 04:40 PM
10-15-2009 02:08 PM
Hi,
I have an Measurement Studio app (VS 2005) that uses DAQmx 8.9.5 and I am looking at ways to automate installation of the device drivers along with the application itself (there is an option to do this if you were developing an app in LabVIEW). Are the solutions suggested in the previous posts of this thread still the only way to do this or has things changed in the last few years?
Has anyone been successfull in adding the National Instruments Device Drivers as a Pre-Requisite installation package to the setup project of a Measurement Studio app? This involves creating a custom bootstrapper package within your C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages folder ((http://msdn.microsoft.com/en-us/magazine/cc163899.aspx).
The way I understood it, the bootstrapper installation file has to be a single windows installer executable and the Device Driver (core) installation package that I downloaded from NI is not single file but rather a collection of files with a setup file along with support and product folders. I zipped these files into a self executing archive, but that approach does't seem to work. It packages the installer correctly, but during installation the installer assumes that the Device Drivers have been installed as soon as it is unzipped and thereby both the device driver installation and my app installtion simultaneously are launched simultaneously creating a conflict.
Please advise.
thanks much,
~Vipin