LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to install an entire directory structure and files with the LabVIEW installer

I think I may be missing something on how to do this - preserve a file directory structure in the LabVIEW build process.

 

Is there an easy way to distribute an entire directory structure (multiple directory levels/text files) and have the LabVIEW build process properly preserve and install them?   I included a directory in my build specification but it completely flattened the file structure and then so when the installer builds it, the resulting structure in the /data directory is flattened as well.    I'd prefer not to go through each file (~100) and setup a specific target location.   Is there an easy way to preserve the file structure in the build process/installer process that I am missing (maybe a check box that I didn't see or an option setting somewhere)?

 

-DC

0 Kudos
Message 1 of 2
(2,813 Views)

Hi DC

 

Sorry for the delay in responding to your question.

You should be able to do this using a 'Source Distribution' as described below:

 

 - Right click on 'Build Specifications' and select 'New' - 'Source Distribution'

 - Provide a name

 - Add your files to 'Always included' under 'Source Files'

 - Under 'Destinations' select 'Preserve disk hierarchy' and ensure that 'Directory' is selected as the 'Destination type'

 

When building an installer your can then choose to include your source distribution and it will be installed to a location of your choosing.

 

Hope this helps.

 

Kind Regards

Chris | Applications Engineer NIUK
0 Kudos
Message 2 of 2
(2,789 Views)