01-27-2009 07:14 AM
We have an application using parts of the measurement studio and the Ni-Visa32.dll. On the development PC, with installed measurement studio, the applicatíon works very well. Now we want to distribute this application and so we made a deployment project. When we install the generated setup on a target PC, where MSVS and measurement studio is not installed, there a some missing DLLs. Dependency walker shows us
NIVISV32.dll
NIPALU.dll
NIORBU.DLL
NIMDBGU.DLL
NIMSTSU.DLL
NIMXDFU.DLL
NIDMXFU.DLL
NIMERCU.DLL
NIPESRU.DLL
as not found.
How we have to make the deployment project to avoid this problem ?
Gerhard
01-28-2009 08:43 AM
Gerhard,
if you are using VISA functions in your application, the VISA runtime engine must be installed on the target PC prior to running the application. Therefore, you can either install the runtime engine manually, or include the NI-VISA Runtime Engine Setup as a custom action in your installer routine.
The NI-VISA Runtime Engine Setup file can be downloaded here: http://joule.ni.com/nidu/cds/view/p/id/1071/lang/de
A starting point for custom actions in the MSVS's installer settings might be this: http://msdn.microsoft.com/en-us/library/aa368066.aspx
Best regards,
SFK