07-17-2016 02:45 PM - edited 07-17-2016 02:52 PM
I'm using LabVIEW 2015f1 and have a build spec that "always includes" a text file. Under source file settings I have specified that the text file goes into the "Same as caller" destination which is designated as: "C:\builds\MyApp".
When the build is complete, the text file has instead been put into the "C:\builds\MyApp\Support directory. It won't work properly unless it's in the same directory as the executable.
This is frustrating as I base the installer spec on the build spec and give the installer to other people and don't want to have to include instructions like: "Once installed, move file "blah" from the Support directory to the directory containing the executable." That's just dumb.
Solved! Go to Solution.
07-17-2016 02:51 PM
I have not tried reproducing this, but why don't you adjust the exe to look in the "data" folder instead. Seems cleaner to me and that's what I always do.
Can you create a small sample project that demonstrates the problem? Thanks!
07-17-2016 02:58 PM
I'll try to get a simple example that reproduces the problem.
This text file is actually a .md5 digest of all my application files (for quality assurance purposes). The file has to be placed in the root of the application folder in order for the verification to work (the digest contains paths relative to the app location).
07-17-2016 03:07 PM
07-17-2016 03:18 PM
The Preview shows the text file in the Support folder.
A small example project showed the same behaviour.
I created a custom destination (pointing to the same location as the app) and that worked.
Thanks. I should check if there is a CAR on this.