LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Executable with Dynamic VIs

Solved!
Go to solution

Hi, 

 

You don't actually have to copy the entire vi.lib to make your exe run.  You can create two source distributions for each of your plug-ins - one that includes vi.lib and one that doesn't.  If you diff the distributions, you can separate out the required vi.lib VIs from the ones that are part of your plug-in.  Collect all the required vi.lib VIs for all your plug-ins into a single folder (I call mine "Library").  In the .ini for your executable, add the line:

 

VISearchPath=<PathtoYourLibraryFolder>

 

Using this technique, I was able to reduce the size of my delivered app from over 400Mb to 30Mb.  You just have to make sure that you do this for ALL of your plug-ins to ensure you get all the required vi.lib VIs.

 

JasonP

Message 11 of 12
(811 Views)

This post was the most helpful that I've ever read!

 

Thank you very much!!!

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 12 of 12
(651 Views)