How Do I Create Additional Sub-Folders for Files When Building an Application?

Updated Aug 14, 2018

Reported In

Software

  • LabVIEW Professional
  • LabVIEW Application Builder Module

Issue Details

I am building an executable file from my LabVIEW VI. I plan to include several support files with the installation of the application, but I want these files to be located in a different sub-folder than the default support file directory. How can I specify another sub-folder for these files?

Solution

To accomplish this, you must specify the installation destination subdirectory for each of your supporting files. Here are the steps to follow:
  1. Add support files and folders to the Project Explorer under My Computer.
  2. Right Click on Build Specifications and select New»Installer.
  3. Open the Destinations category to add folders to any predefined locations based on the users settings. To create a new folder click the Add Destination button. You can also specify absolute paths by clicking the Add Absolute Path button.


     
  4. Then Click the Source Files category and move the support files from the Project Files View using the Add/Remove Buttons into the directories in the Destinations View. (the same file can be placed into multiple locations if desired)

 

Additional Information

LabVIEW 8.0 through 2009

  1. Add support files and folders to the Project Explorer under My Computer.
  2. Create a new installer by right-clicking on Build Specifications.
  3. In the Source Files category, select your support files in the Project View and select where you would like it to install in the Destination View (If you would like to create additional sub-folders there is an add folder icon at the bottom of the dialog box).

LabVIEW 6.1/7.x

  1. Open Application Builder from the Tools menu.
  2. Specify the destination directory and support file directory on the Target tab.
    (The support file directory is used to hold the support files for the installer. It won't be visible in the installation directory unless specified).
  3. On the Source Files tab, include your top-level VI and any other supporting files.
  4. On the Installer Settings tab, select create installer and click on the Files... button.
    (You will see all the source files that you have added in the Files in Installation box).
  5. Highlight the first support file for which you would like to create a sub-folder.
  6. In the Installation destination subdirectory box, specify the name of the sub-folder where you would like the support file to be found.
  7. Repeat step six for each of the support files that you have.

WAS THIS ARTICLE HELPFUL?

Not Helpful