LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Make a small executable

I've finally finished my project in LabWindows CVI (8.5). Now I need to package it all up and make an installer/executable. I thought that I knew what I was doing, but when i created the .exe it would only run on my PC and not any of the other PCs I put it on.

I did some digging on the forums and it seems as though I need to have whatever PC this program is going on to have the CVI rte. I'm not sure how to do this and some people claim that the rte is fairly large. I'd like to keep my programs installation as small as possible.

Can someone please walk me through the menus of how to make the smallest .exe that will run on a foreign PC (one that may not have CVI).

Thanks.
0 Kudos
Message 1 of 4
(2,835 Views)
It looks like you actually want the LabWindows forum. This is the LabVIEW forum, the graphical programming language.
0 Kudos
Message 2 of 4
(2,832 Views)
Hi Gwain,

You are correct.  You will need to include the CVI Runtime engine in your installer if the PCs you are deploying to do not include it.

You can do this by going to Build » Distributions » Manage Distributions.  There you can choose to create a new distribution.  The CVI Runtime Engine can be included by selecting it on the Drivers and Components tab of Edit Installer.  If you are concerned about the size of your installer, here you can choose to install only parts of the CVI Runtime Engine that your application needs.  You can do this by expanding the CVI Runtime Engine section and deselecting any components you do not need for your application.  This will help to reduce the size of your installer.

For more information, see the CVI help topic "Distribution Overview".
Jessica
National Instruments
Product Support Engineer
0 Kudos
Message 3 of 4
(2,796 Views)
Thanks for the quick assist on that one. I've found the menues you're talking about. I just have to dig around and find out what I need and what I don't.
0 Kudos
Message 4 of 4
(2,781 Views)