LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Installer mesa.dll error

I am new to Labview CVI and hoping that my question is not too dumb.  I did not like the distribution file created using Microsoft Installer, so I have created my own using Inno Setup.  My problem is that when I install the program using my Inno Setup, once you launch the program, it states that it can not find the mesa.dll file.  I read the entire code created through the Microsoft Installer and have installed all the needed files including the mesa.dll file in the correct location.  I have since found out that some of these are created with the runtime engine.  I have downloaded this setup file.  My question is that I would prefer not to have a second installer in my inno setup installer for the runtime engine.  Can anyone tell me a way to put this in my inno setup file to make sure that I have everything that I need.
 
Thanks in advance for the help,
 
Bubba
0 Kudos
Message 1 of 3
(4,658 Views)
Hi, Bubba.

I'm not familiar with Inno Setup, so I'm not sure how much I'll be able to help in configuring it. I've encountered a mesa.dll error before, but upgrading to the CVI 7.1 Runtime Engine fixed that issue. If you're using CVI 7.0 or 7.1, that's a possible fix for you.

How are you creating the distribution file with Inno Setup?
Sarah K.
Search PME
National Instruments
0 Kudos
Message 2 of 3
(4,625 Views)
Bubba,

You say that you installed mesa.dll in the correct location (I assume that you mean "c:\program files\national instruments\shared\mesa\mesa.dll"). However, there's really nothing special about this location, if it weren't for the fact that NI installers create registry keys that allow other NI software to find files that are in this location. And my guess is that your installer is not creating these registry keys, therefore the CVI run-time engine cannot find mesa.dll.

As a quick workaround, you could install mesa.dll in the same folder as your application, and it should be able to find it. However, you need to keep in mind that this is only a band-aid. Sooner or later you are bound to run into other issues that will create problems for you as a result of not creating a proper installer. There is a lot of complexity that goes into an installer that you build with CVI, that is intended to hide these issues from you. Therefore, we definitely recommend that you use the CVI installer tool whenever you are trying to deploy a CVI application.

Luis
NI
0 Kudos
Message 3 of 3
(4,610 Views)