LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Silent DAQ Installation with LV App From CD

The following article describes how NI-DAQ can be installed silently from a
command line:
http://digital.ni.com/public.nsf/websearch/940218C86275330A86256BBA0074780E

1) Has anyone setup their LabVIEW application build to do this and if so,
how? The "Advanced Installer Settings" allows you to put in commands to run
an executable plus command line arguments. However, according to NI tech
support you cannot put in a relative path to run the executable. I want to
put the NI-DAQ installation files in a \NIDaq subfolder on a CD and run it
from there. I don't know what drive letter the user might have their CD in
so I cannot put in an absolute path. The command line I want to run is:
\setup.exe
daqmx72_specfile.txt /q /r:f
How would the /q /r:f go into the command line arguments. Is it simply "/q
/r:f"?

2)
http://digital.ni.com/public.nsf/websearch/940218C86275330A86256BBA0074780E,
mentions that you can't run an NI setup from a LV app setup. Is this still
true or can it be done with LabVIEW 7.0 and above?

3) I've tried the silent install from a command line and it does work.
However, if I take out folders that shouldn't be needed to just install MAX
and NIDAQ I get path errors that prevent the installation. I'd rather not
put all the files on the CD because they take around 700MB and MAX and NIDAQ
only need around 250 MB. Can anyone shed any light on this issue?
0 Kudos
Message 1 of 3
(2,678 Views)
Hello,

Thank your for contacting National Instruments.

You should be able to specify a relative path using the .\ method. (ie. .\NIDaq\setup.exe)

If you just wish to install NI-DAQ, which by default installs NI-MAX, then you can simply download the NI-DAQ 7.2 installation from our website your or you can grab the daqmx folder from your Driver CD.

Please see this KB for more info on silent DAQmx installations: http://digital.ni.com/public.nsf/websearch/CBDAA88478F7179C86256E36001BE050?OpenDocument

Regards,
Bill B
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,678 Views)
Bill B, please read my entire post!

1) What about the arguments? Do I use "/q /r:f" ir is my syntax incorrect?
2)
http://digital.ni.com/public.nsf/websearch/940218C86275330A86256BBA0074780E,
mentions that you can't run an NI setup from a LV app setup. Is this still
true or can it be done with LabVIEW 7.0 and above?
3) If I don't include the folders that shouldn't be needed to just install
MAX
and NIDAQ I get path errors that prevent the installation. I'd rather not
put all the files on the CD because they take around 700MB and MAX and NIDAQ
only need around 250 MB. Please shed some light on this issue?

"Bill B" wrote in message
news:506500000005000000DEA80100-1079395200000@exchange.ni.com...
> Hello,
>
> Thank your for contacting Nat
ional Instruments.
>
> You should be able to specify a relative path using the .\ method.
> (ie. .\NIDaq\setup.exe)
>
> If you just wish to install NI-DAQ, which by default installs NI-MAX,
> then you can simply download the NI-DAQ 7.2 installation from our
> website your or you can grab the daqmx folder from your Driver CD.
>
> Please see this KB for more info on silent DAQmx installations:
>
http://digital.ni.com/public.nsf/websearch/CBDAA88478F7179C86256E36001BE050?OpenDocument
>
> Regards,
> Bill B
> Applications Engineer
> National Instruments
0 Kudos
Message 3 of 3
(2,678 Views)