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

Using ClickOnce Deployment with Measurement Studio

Primary Software: Measurement Studio>>Professional Edition (Base Package)
Primary Software Version: 8.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I am using Microsoft's ClickOnce Deployment to deploy my application built in Visual Studio using Measurement Studio components.  However, when installing the application on the client computer, an error message appears saying that a Measurement Studio Component (NationalInstruments.UI, NationalInstruments.Analysis, etc.) should be installed in the GAC.  How can I fix this?

Solution:
ClickOnce deployment is not supported with Measurement Studio.  ClickOnce deployment does not allow installation to the Global Assembly Cache (GAC), so it can not move over the necessary Measurement Studio assemblies needed to use Measurement Studio components.

For more information on distributing Measurement Studio applications using supported distribution methods, see this KnowledgeBase article: KnowledgeBase 341AEOW3: Distributing Measurement Studio Applications in Microsoft Visual Studio 2003/2005/2008

As a workaround, If you need to use ClickOnce, you can create an additional bootstrap installer using Windows Installer 2.0 for your end-users to use to install the necessary libraries to the GAC.

Note: If you can not change distribution methods and you would like this feature to be added to future versions of Measurement Studio, you can provide feedback to R&D by filing a product suggestion using the Product Suggestion Center.

Related Links:
ClickOnce Deployment Overview - msdn.microsoft.com
KnowledgeBase 341AEOW3: Distributing Measurement Studio Applications in Microsoft Visual Studio 2003/2005/2008

Attachments:





Report Date: 02/17/2009
Last Updated: 02/17/2009
Document ID: 4UGABLXK

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