Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I control where merge module installs DAQmx.dll ?

I have a .NET app developed under VS 2005 that uses DAQmx 8.7.1
 
My VS setup (Deployment Project) has a detected dependency to merge modules  mstudiocommon.2005.msm and mstudiodaqmx.2005.msm, as it should
 
When a user runs the app's .msi, the user specifies the "parent" installation folder like:
 
C:\Program Files\MyApp\
 
And the app's executables get installed into: 
 
C:\Program Files\MyApp\bin  
 
And its database gets installed into:
 
C:\Program Files\MyApp\db
 
And various other folders are created under:
 
C:\Program Files\MyApp\Projects
 
(this folder structure is very deeply ingrained within the app, so changing it isn't an option).
 
The problem is that NationalInstruments.DAQmx.dll gets installed in C:\Program Files\MyApp  (ie, the "parent" folder, and thus my app can't find it at runtime).
 
How do I make it install DAQmx.dll into C:\Program Files\MyApp\bin   ???
 
DT
0 Kudos
Message 1 of 3
(3,789 Views)

I discovered that the VS Deployment project allows me to over-ride the Module Retargetable Folder property of the MergeModuleProperties (for mstudiodaqmx.2005.msm).  

Sounds like that might work, assuming it does what I think it does!

David

 

Message 2 of 3
(3,787 Views)
(yes, it works)
0 Kudos
Message 3 of 3
(3,786 Views)