The easiest way to license an executable is through the Instant Protection PLUS 3 licensing injector/wrapper tool. It has an easy-to-use licensing wizard, and is available from SoftwarKey.com / Concept Software. This exercise will show how to license a LabVIEW-built executable using Instant Protection PLUS 3.
Open LabVIEW Executable.lvproj
View the source code of LabVIEW Executable.vi and test its functionality.
Close LabVIEW Executable.vi
In the project explorer window, right click on “LabVIEW Executable” under “Build Specifications” and select build.
When the build is complete, click Explore to view the executable file.
Double click on LabVIEW Executable.exe to run it. See that the VI runs instantly.
The first time that the licensed application is run, it is important to change the necessary permissions of all license files and registry entries if you changed the License File Location setting on step 13 to something other than the default "Auto-create in the current user registry". This can be done by calling the EXE with the command line parameter /OPENLF. Since this needs to be done at install time, your installer can copy over the licensed EXE file to the target system and immediately call it with the /OPENLF command line parameter to set the permissions and exit.
This hands-on covers licensing a LabVIEW Executable using SoftwareKey Instant Protection PLUS 3. If you need more advanced licensing functionality, you can also utilize Third Party Licensing & Activation Toolkit Licensing API. For licensing a LabVIEW Library, you can use the Third Party Licensing & Activation Toolkit Add-on Licensing Tool.