Virus scan in progress. Please wait to download attachments.
Overview This VI is intended to be used as a Post Build Action in a Build Application Specification on Mac. The VI installs the LabVIEW Run-Time Engine inside the built application so that it can be used as a completely standalone application and not depend on a separate installation of the LabVIEW Run-Time Engine.
Description This VI will copy the corresponding version of the LabVIEW Run-Time Engine into the application you are building and then remove all but the core Run-Time engine components. If your application has dependency on other components of the Run-Time Engine (MathScript, HTTP VIs, Sound VIs, etc), you can modify which components are removed by removing the corresponding item from the Unnecessary Runtime Engine Parts control in the VI.
The action then compresses the .app (.zip) to make it ready for distribution and deletes the .aliases and Preferences files.
LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
Create a new Project
Create a Build Specification (make sure to set the top level VI)
In the Pre/Post Build Actions for the Build Specification, set this “Install Runtime Engine 2012 NIVerified.vi” as the "Execute VI after build"
Observe that the Run-Time Engine is installed directly in your application and a .zip file of your application is next to it
This application can be run on computers without first installing the LabVIEW Run-Time Engine
Additional Information or References VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.