Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Installer Error 2705 when including an NI merge module

When trying to install a VB.NET application that includes a NI merge module, I get Error 2705. To troubleshoot this problem, I created a simple installation project from a Microsoft Walkthrough (My Notepad.) I checked that the installation worked on my target machine. Then I added a Microsoft merge module and rechecked. Everything was okay. Then I added a NI merge module. On my first try, I added MStudioNet.msm and got the error. Then I tried ni_utility.msm and it failed also. After reviewing your posted messages I also added the "Program Files Folder" to the file system target. This did not fix the problem.

I have had this identical behavior on two test machines. Please advise if there are any
solutions. I am attaching my test project.
0 Kudos
Message 1 of 3
(3,756 Views)
Hello,

The problem is that there are not the proper Merge Module dependencies defined for some of the merge modules in DataSocket (ni_utility.msm I know). This MSM depends on NIMetaUtils.msm to get some directory information at runtime.

Please add this MSM to any installer project that you build using DataSocket. If you use the Measurement Studio .NET API for DataSocket, then you should add the MStudioNet.MSM to you project. This msm has all the correct dependencies defined and will add many merge modules to your project to make sure that DataSocket gets fully installed properly.

Jeff
NI
0 Kudos
Message 2 of 3
(3,756 Views)
Thanks for your answer. Adding NIMetaUtils.msm did correct the problem. In my original project, I do not use DataSocket, but probably one of the controls needs it (cwdaq.ocx??). If this is a known problem, why isn't the answer posted in the knowledge base. I had to go through a lot of iterations in order to prove that the problem with with a NI merge module. I would have liked to have found the solution when I first started searching on the error code. Enough griping. Thanks again for your help!.
0 Kudos
Message 3 of 3
(3,756 Views)