Derek -
I was able to create a source distribution based off a VI using subVIs
included in a .llb file. Here is what I did to include only the
files needed in the distribution and not the entire .llb file.
In my project, I included both the top-level VI and the .llb and then
created my source distribution. In the Distribution Settings
page of the dialog box, I kept the default selections: Exclude
vi.lib and Exclude user.lib both checked and Exclude instr.lib
unchecked. The example I am using is from a .llb file from an
instrument driver.
In the Source File Settings, I kepts my the top-level VI with the
inclusion type as Always include, the .llb file as inclusion type to
Include if referenced, and kept the dependencies inclusion type as
Include if referenced.
After I built my application, only my top-level VI and its dependencies were included in the source distribution.
If you continue to experience the same problems, can you post your
entire project file using the Zip File build specification feature?
Mark Walters
Application Engineer
National Instruments