Hi,
I have attached a modified version of your VI that has few advantages over your version.
1) There is an application property that tells if it's a build application. It is platform independant since it doesn't assume any specific file extension.
2) Again, the test for a directory doesn't depend on a specific file extensions: the
File/Directory Info node is used.
3) Since the returned path is often used to build other paths, I've included an optional relative path input that is build with the output path. This gives much cleaner diagrams.
In a build application, there is an option to build using an external llb, located by default in the directory "data/data.llb". This VI will then return the "data" direc
tory where it will be located. If you really want the application directory, you should use the application property "App.dir" which outputs the directory where the application is located. Maybe the VI should be modified to return App.Dir when called from a build application.