LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

statically link cvirte into your app

How can I statically link the CVI runtime engine (CVIRTE.DLL) and anyother runtime dlls into my CVI app so that I only need to distribute my app to other machine without going thru the install process?
0 Kudos
Message 1 of 2
(3,123 Views)
Unfortunately, this isn't possible.

The closest you can come would be to create an installer that will perform a "private" installation of the run-time engine, such that it won't interfere with anything else on the target PC (it will put the RTE files in your application directory, instead of in windows\system32). But even in this case, you will still have to run the installer.

Now, if you know what you're doing, it might be possible for you to copy the files manually, instead of running the installer, but that's definitely not something I'd recommended, since a lot will depend on what your particular application needs, and it's very much subject to change.
However, if you really want to explore this option, you can try the following: first create an installer that puts the RTE in the application directory (in CVI 8.0, you'll find this option in the Advanced tab of the Edit Distribution dialog). Also, in the Drivers and Components tab, select only "Standard Run-Time" and nothing else. Then, run this installer in a test machine, and notice what files it places in the application directory. Afterwards, you can try to replace the installer with a zip file that puts those files in the same relative locations.
Like I said, this depends very much on what your application needs. If you need other components besides the standard run-time, each of those necessary components will have to be evaluated on a case-by-case basis.

Luis
0 Kudos
Message 2 of 2
(3,120 Views)