08-29-2017 09:21 AM
I know how to build a source distribution with the top-level VIs in the distribution's main folder and their subVIs saved into a subordinate folder. I also know how to include any referenced user-lib subVIs in the source distribution and they too end up within the subordinate subVI folder. Is it possible, as part of the source distribution build process, to have included user-lib subVIs saved into their own separate subordinate folder?
I'm sure it would be possible to create a post-build processing VI which would open the main VI's and identify which of their subVIs matched ones in VI lib and move them to a separate folder and then save everything again, but that's not what I'm asking when I say "is it possible?" My suspicion is NO it's not, but I'm open to pleasant surprises if someone has figured it out.
08-29-2017 10:24 AM
Option 1
add user lib to project as a separate folder,
add new folder in Destinations tab
in source file settings tab set user lib (will be available as project folder) to destinations.
Option 2 - turn on "preserve disk hierarchy"
Not a user specified folder, but a separate one.
09-01-2017 05:12 AM
Option 3) Make a source distribution with a dummy file. The, in Pre\Post build actions, add a VI that does everything you want with VI Server techniques.
Upside: you can do anything you want.
Downside: you have to do anything you want.
Maybe you can find some hybrid form where LV does most of the things, and then complete the distribution yourself by adding\deleting\moving files.