Including Supporting Files in the Same Directory as the .exe File When Building an Executable?

Updated Apr 25, 2018

Reported In

Software

  • LabVIEW Full

Issue Details

When creating an executable, how do I include supporting files in the same directory as the main executable file?
 

Solution

When building the executable, you must add the supporting files to the list of Always Included files under the Source Files category in the executable's Properties.
Then, under the Source File Settings category, the Destination must be set to Support Directory.
In LabVIEW 8.5 or later, you must change the path of the Support Directory to be the same as the main executable file. By default, files added to the Support Directory are placed in a folder named data in the same directory as the main executable. You can change the path of the Support Directory by changing the Destination Path for the Support Directory under the Destinations category.

Additional Information

In versions of LabVIEW prior to 8.5, you could add supporting documents to the same directory as the main executable by setting the Destination to apply option to Destination Directory under the Source File Settings.

The default of destination of supporting files is the /data directory

WAS THIS ARTICLE HELPFUL?

Not Helpful