Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Error: "Unable to Find Module Dependency" When Building an Installer in Visual Studio 2008 with Measurement Studio 8.5

Primary Software: Measurement Studio>>.NET Support
Primary Software Version: 8.5
Primary Software Fixed Version: N/A
Secondary Software: Measurement Studio>>Visual C++ Support

Problem:
When trying to build an installer in Visual Studio 2008 with Measurement Studio 8.5 I receive an error saying:

Unable to find module dependency with signature 'CWUI_OCX.058B041E_15EB_408B_ABBE_88DE9D7604A0.'


What does this mean and what can I do?

Solution:
In order to redistribute the NationalInstruments.NET (DataSocket) assembly with your project you need to include the CWUI_OCX.msm merge module in your setup project. However, because Measurement Studio 8.5 did not install C++ support for Visual Studio 2008, the merge module CWUI_OCX.msm was not installed.

In order to install this merge module so that it can be included in your distributions, follow these steps:
  1. Run the Measurement Studio 8.5 installer for Visual Studio 2008 again.
  2. When you get to the "Features to Install" page, hold CTRL-SHIFT-A to expose the list of all underlying components.
  3. Change "ActiveX UI Support ofr VC++" to Install this feature to a local drive as shown in the screenshot.
  4. Complete the installation and rebuild your installer.



You should now be able to build your distribution.

Related Links:
Download Measurement Studio

Attachments:





Report Date: 11/07/2008
Last Updated: 11/10/2008
Document ID: 4R6GEH2F

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit