I have a .NET application that uses daqmx to control hardware and would like to deploy the whole thing using a single set up. So far I have determined that I want to add a line of the form
setup spec.ini /q /r
If I use the spec.ini file on the original daqmx driver guide as a template, it looks like I want to use
[Features]
daqmxcore.daqmxef=Local
NidnetDriver.DNT.DNT01042000=Local
MAXROOT.MAX00=Local
and set all the featues to Absent.
The next question is where to locate the driver files. On the distribution cd, they are located in 3 subfolders under ../products/. I'm guessing that the setup program is expecting this layout and they must stay in these relative locations. There is also a subfolder called shared that I suspect I need. Does anyone know if this is all I need or do I need something else? Do they need to stay in these locations?
Finally there is the question of how to add the NI setup program to the .NET set up project. I thought I could add it as a custom action, but there doesn't seem to be any way to access the directory from which the installation was launched (i.e. the deployment cd) in a custom action. How do I launch this?
Can anyone supply me with an example deployment project to work from?
I must confess a very strong frustration that there is zero useful information about this in the measurement studio .net documentation (which is, in general, grossly inadequate). You would think there would be at least an example deployment project.