Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Installer 2705 Error when NI-DAQ not installed

My application uses Measurement Studio controls for data acquisition. However, not all users of my software need the data acquisition features. My installation succeeds when NI-DAQ is installed on the target machine, but fails with a 2705 error if not. Is there a workaround for this. I don't want to have to install NI-DAQ on each users machine just so they can get a report. My application is written in VB.NET and uses both .NET and Active-X controls from Measurement Studio. The installation was created in Visual Studio.NET.
0 Kudos
Message 1 of 7
(4,837 Views)
Is tehre any way that you can send me the installer project file. vdproj

this will help me look at what you are including to be installed. 2705 means that the directory is not being found. I will need to look at what merge modules you are including to see where this is coming from.

Jeff
NI
0 Kudos
Message 2 of 7
(4,837 Views)
Gladly. Here it is.
0 Kudos
Message 3 of 7
(4,837 Views)
OK,

Looking at that didn't help. I don't see where you are redistributing any of our stuff other than NIMetUtils.msm. You said you are using our ActiveX controls and .NET components. They each require a merge module to be added to your project. Have you looked at the help topic:
ms-help://NI.MeasurementStudio/Integration/static/Distributing_MStudio_Apps.html

This will help you determine what you need to add.

If you are still having issues please post the MSI created using this proj (or email it to me @ jeff.laney@ni.com).

Jeff
NI
0 Kudos
Message 4 of 7
(4,837 Views)
The project automatically identified several merge modules, so this wasn't the problem. It turns out that the one step I missed relates to the addition of nimetautils.msm, which I added manually. At the end of the help topic "Distributing Measurement Studio .NET Applications," there is a footnote that says that in order to include nimetautils.msm, I must manually add ProgramFilesFolder to the directory table. Note: I added nimetautils.msm because it compensates for dependancies that are missing from one of the required merge modules. I don't actually need nimetautils, except to make the installer work.
0 Kudos
Message 5 of 7
(4,837 Views)
NiMetautils.msm doesn't install anything. It is there just to set up everything for NI installers. We use it internally in our installer and provide it to customers so that we can have a reproducable install process on both sides.

Did you get the installer working?

Jeff
NI
0 Kudos
Message 6 of 7
(4,837 Views)
yes, thanks.
0 Kudos
Message 7 of 7
(4,837 Views)