Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying MS2013 application

Hello,

 

I ran into some problems, starting my software (c# WPF, dotNet4.0, VS2010, MS2013, developed on WinXP32bit and Win8.1 64bit) on any system that doesnt have the NI Developer Suit installed.

 

When I'm starting my exe on a system without NI Dev Suit I get an immediate error : xyz.exe has stopped Working and I get 2 different error signatures depending on if I started it on a different machine or in a VM (tested Win732bit and XP32bit sp3, same error)

 

 

Error in my VM (WinXP)

 

sig.JPG

 

Error on physical machine (WinXP/7)

System.Windows.Markup.XamlParse error

 

Those are the NI assemblies I'm using in my project:

 NationalInstruments.Common.dll
 NationalInstruments.Controls.Booleans.dll
 NationalInstruments.Controls.dll
 NationalInstruments.Controls.Graphs.dll
 NationalInstruments.Controls.Numerics.dll
 NationalInstruments.DAQmx.ComponentModel.dll
 NationalInstruments.DAQmx.dll
 NationalInstruments.UI.dll
 NationalInstruments.UI.WindowsForms.dll

 

When I remove them and all traces of their use in my code the program runs fine

If I install the Dev Suit on the target PC the program runs fine (not an option...)

 

The .dll files are copied in my output folder, so the target system should have them
Installing the DAQmx runtime engine from http://ni.com/download/ni-daqmx-run-time-engine-9.7.5/4241/de/ doesnt help either

 

I also checked if all necessary files are included in my installer, using this list:

http://zone.ni.com/reference/en-XX/help/372636F-01/mstudiowebhelp/html/netmergemodules/

 

What else is there I could try?

0 Kudos
Message 1 of 4
(5,752 Views)

Can't edit my post:

 

Also tried the driver Disc (Feb2013), but doesnt help either

0 Kudos
Message 2 of 4
(5,748 Views)

I typically just XCOPY deploy my applications.  You can try that using the information on this page http://zone.ni.com/reference/en-XX/help/372636F-01/mstudiowebhelp/html/netdeploymentfiles/

0 Kudos
Message 3 of 4
(5,738 Views)

Step 3: Locate Device Drivers

The following assemblies requires a device driver that is located on the National Instruments Device Drivers DVD included with Measurement Studio. Alternatively, refer to NI Drivers and Updates on ni.com and enter Device Drivers into the search field to download the latest version of the NI Device Drivers:

  • NationalInstruments.DAQmx
  • NationalInstruments.DAQmx.ComponentModel


Does this work for you without using the Driver CD (my 2nd post was incorrect, with the driver installed from CD it works, but not with DAQ drivers from the NI site..)?

Is there an alternative to installing drivers from CD? It requires 1,4 - 2GB disc space alone for what? maybe a 10MB driver that is used by me . 14.000% overhead

0 Kudos
Message 4 of 4
(5,722 Views)