Solved! Go to Solution.
Did you include the libraries in the Always Included section of Source Files. Did you then change the destination of the library to Support Files on the Source File Settings tab?
In the code do you use the correct path when calling the Deploy Libraries method. The current VI's path should be stripped twice and have "data\name.lvlib" built to the end.