LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build executable with preserved hierarchy

In my application the configuration file and log file needs to be placed under C:\User\<user>\Documents\OVC_Data.

How do I build the exe to preserve the hierarchy? 

 

In the Destinations category the Support Directory has Directory selection grayed out.

From multiple files only one file needs to be under Documents folder. 

 

The installer needs to be created from the executable with the same hierarchy.

 

Thanks!!

 

Download All
0 Kudos
Message 1 of 2
(2,277 Views)

I recommend you to do the following:

 

  1. Create a build script for the application (EXE) only. Don't bother about any support files here. If the application is built on a plug-in architecture, you should include source distributions for the plug-ins in the EXE build script already or create a dedicated build script for each plug-in individually (type: source distribution).
  2. Once the build is finished (and runs on your development system), you should create a build script for the installer.
    1. Configure the destination directories for all included files. You can create new destinations by pressing the "+" symbol below the list of existing destinations. Configure appropriate folders for each destination.
    2. Distribute all files into the configured destinations as required. The build script of the EXE will include the EXE as well as some support files (e.g. ini). If you are using plugi-ins, this will also include the plug-ins which you configured in the EXE build script. If you chose to use dedicated build scripts for each plug-in, you have to include them here. Note that you can only distribute sources you have in your project. So it is required that all support files (cfg, ini, dat, ...) are part of the lvproj.
    3. Once you finished distributing your sources, chose to add additional installers (e.g. LV RTE) and finish the settings for the installer. Build it.
  3. Check your installer on a blank system. It should work. If not, identify missing components and make sure that they are distributed into the correct location.

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 2
(2,252 Views)