From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-11-2012 06:08 PM
12-11-2012 06:16 PM
When you build an application, it's just your application - no run-time engine. After you build the application, you can create another build specification for an installer which will include your application and whatever other support files (DAQ drivers, run-time engine, etc) you choose to include. That's probably what you're looking for you. You need to build the application first so that it can be included in the installer.
By default, block diagrams and most front panels are removed from your code during the the build process, leaving only the compiled LabVIEW code which would be very difficult to reverse engineer. If you look through the source file properties in the build specification you'll see options to remove both the front panel and the block diagram. Make sure you don't remove the front panel for any VI that the application will display to the user (normally this isn't an issue and the default settings are fine). Checking the option to enable debugging in the executable also includes the block diagrams in the application as far as I know, so you'll want to leave that unchecked (the default).
12-11-2012 08:34 PM
@nathand wrote:
When you build an application, it's just your application - no run-time engine. After you build the application, you can create another build specification for an installer which will include your application and whatever other support files (DAQ drivers, run-time engine, etc) you choose to include. That's probably what you're looking for you. You need to build the application first so that it can be included in the installer.
By default, block diagrams and most front panels are removed from your code during the the build process, leaving only the compiled LabVIEW code which would be very difficult to reverse engineer. If you look through the source file properties in the build specification you'll see options to remove both the front panel and the block diagram. Make sure you don't remove the front panel for any VI that the application will display to the user (normally this isn't an issue and the default settings are fine). Checking the option to enable debugging in the executable also includes the block diagrams in the application as far as I know, so you'll want to leave that unchecked (the default).
Thanks.
Hmm...well, I'd just found the Installer portion and read through that.
I've just build the Installer.....I assumed where you put in the 'sources'...that that would build the applicaton for you.
So, just to make sure I have it. I build the exe first. Then...I build an installer...and include the previously generated exe in that?
What is the 'include' sources for then....that would expose my code if I include that?
Thank you in advance,
cayenne
12-11-2012 10:58 PM
"Source" files in this case means any files you are including in the installer. It doesn't mean "source code".