Creating Sub-Folders for Files When Building a LabVIEW Application

Updated Aug 21, 2019

Reported In


  • 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?
  • How can I have my application installer to include custom folders by default after it's been installed in a computer? 


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). Note: If you don't have or use support files  but you still want to create the folder, you may create a blank dummy VI or .txt file and include it under the desired destination folder. 


The following .GIF image shows how these steps are performed in the Installer Properties Window: 

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.