I have a WiX deployment project for a program I wrote a few years ago. The program is written in C# with Visual Studio 2012 and uses Measurement Studio components. I have to update the program with some minor changes. I am only allowed to make as few changes as possible, so I am required to stay with VS2012. When I rebuilt the program, it linked to Measurement Studio 2015 instead of 2013 as 2013 was no longer installed. This is fine- I am OK with that update. However, when I build the installer, it packs the Measurement Studio 2013 merge modules into the exe. When the program is installed and runs, it fails because the program looks for version 15.xxxx of the NationalInstruments.WindowsForms.dll and can't find it. Version 13.xxxx is installed in the GAC.
The file MStudioUIWinforms.2012_x64.msm located in C:\Program Files (x86)\Common Files\Merge Modules contains the 13.xxxx version of the DLL in question. I have searched extensively on this topic and I am aware of this KB: http://digital.ni.com/public.nsf/allkb/52003B0C6C29B3F386257E650054929D
The merge module for the correct version is either not being installed, or it is installed elsewhere. I do not want to convert to the Measurement Studio Installer Builder as WiX is what I use for everything else and I am required to make as few changes as possible.
Can anyone tell me what's happening here? Where are the correct merge modules? This is an urgent matter for me and any help is appreciated.