08-26-2015 10:20 AM
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
09-04-2015 10:38 AM
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,
09-10-2015 03:16 AM
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.
09-10-2015 05:44 PM
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.
Did you change both the msm and ReconfiguredDir in your wxs file?
09-11-2015 11:33 AM
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
11-23-2015 08:55 AM
Hi,
After DAQmx 15.1.1 update this seems to work again. Maybe something was fixed or it was just something in my PC..
br,
Ilkka