Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx in WiX setup project..

Hi,

 

Our WiX setup deployment project does not install anymore NationalInstruments.DAQmx.dll after I upgraded all NI stuff. (DAQmx 15.1, MSStudio 2015, VSStudio 2013)

 

I have tried to use MStudioDAQmx.2012.msm and MStudioDAQmx.2013.msm merge modules but none of those works..

 

BR,
Ilkka

0 Kudos
Message 1 of 6
(4,980 Views)

Hi, Ilkka!

 

I have put investigating this on our list of priorities. I apologize for the delay. I will update you when we have more information. 

 

Thanks,

Daniel Dorroh
National Instruments
0 Kudos
Message 2 of 6
(4,893 Views)

Hi Daniel,

 

Yes.. thanks. At the moment we need to use the full DAQmx setup package at our customers for DAQ NationalInstruments.DAQmx.dll installation. For a correct installation we choose the application development support for .NET 4.5.

 

It is a problem because the full DAQmx setup package's big size. It would be better to use the small DAQmx runtime setup which worked before with the old DAQmx merge modules..

 

br,
Ilkka

 

PS: We are still using WiX for making our deployments.

 

 

 

 

 

0 Kudos
Message 3 of 6
(4,827 Views)

Hey Ilkka

 

I tested out a deployment that is based on the example on the NI Community. In it, I changed the DAQmx.2012.wxs file to point to the the MStudioDAQmx.2013.msm:

 

 

<!-- x86 -->
      <?if $(var.Platform) = "x86"?>
      <Merge Id="MStudioDAQmx45" Language="0" SourceFile="$(var.MergeModulesDir)\MStudioDAQmx.2013.msm">
        <ConfigurationData Name="ReconfiguredDir.1C6086E6_C978_44A8_BF54_50ED5B46EE79" Value="$(var.RetargetableDir)" />
        <!--<ConfigurationData Name="Config_DAQmxCompModel.58D97DB1_77E6_476E_9B14_C9529BFA6F94" Value="DAQmx.ComponentModel.dll.58D97DB1_77E6_476E_9B14_C9529BFA6F94" />-->
        <!--<ConfigurationData Name="Config_DAQmx.58D97DB1_77E6_476E_9B14_C9529BFA6F94" Value="DAQmx.dll.58D97DB1_77E6_476E_9B14_C9529BFA6F94" />-->
      </Merge>
      <?endif?>

In here I changed MStudioDAQmx.2012.msm to MStudioDAQmx.2012.msm and changed the ReconfiguredDir GUID to 1C6086E6_C978_44A8_BF54_50ED5B46EE79. If you use a tool such as Orca, you can look up this merge what the value should be for the ReconfiguredDir. When I installed this application to my test machine, I saw that I was able to deploy the NationalInstruments.DAQmx.dll next to my application.

 

DAQmxFileNexttoApp.PNG

 

Did you change both the msm and ReconfiguredDir in your wxs file?

 

Kurt P
Automated Test Software R&D
0 Kudos
Message 4 of 6
(4,818 Views)

Hi Kurt,

 

Thanks.. I installed Orca and changed the ID numbers.

 

The installation into GAC is still not working but the program's application directory is OK. I do not known why.. 

 

BR,
Ilkka

0 Kudos
Message 5 of 6
(4,797 Views)

Hi,

 

After DAQmx 15.1.1 update this seems to work again. Smiley Happy Maybe something was fixed or it was just something in my PC..

 

br,

Ilkka

0 Kudos
Message 6 of 6
(4,407 Views)