02-14-2013 06:12 AM
Hi,
I am attempting to create a deployment package of an application using NI-DAQmx and MS2012 using VS2010 Express. Since I do not have the ability to generate an MSI install package in the express edition I am using NSIS install scripts and following the "deploy using XCOPY" instructions found in the help. Everything works as expected apart from NationalInstruments.Common!
The version installed is 12.0.40.258, but some of the other DLLs (UI/WindowsForms?) use 12.0.40.253. This is no problem on the development machine as the policy redirects to the newer version. However, on the deployment machine no such policy is in place so I get an exception that the 12.0.40.253 version cannot be located.
I only have one reference to NationalInstruments.Common in my project (12.0.40.258), but checking with Reflector I can see that both 253 and 258 are referenced.
So, question is, how do I create a publisher policy for NationalInstruments.Common with using the merged modules and MSI installer?
I did look at the Al.exe tool (http://msdn.microsoft.com/en-us/library/c405shex%28v=vs.100%29.aspx) but I'm not sure about all the parameters and was hpoing there was a easier more generic way of achieving the same result.
Thanks
Chris
02-20-2013 09:44 AM
Hi Chris205,
My name is Kevin, I am an application engineer at NIUK.
I have found you some information from the help file Measurement Studio help file
Measurement Studio .NET XCOPY Deployment Files
Let me know how you get on
Kind Regards