07-30-2013 08:43 PM
When build the application (EXE), the labVIEW will auto generate a ini file. It's located as the same path as the EXE.
I don't like that, I want to put it under other path together with other config files.
But I can't find a solution, could anyone have any ideas?
Thanks in advance.
07-30-2013 10:04 PM
I dont think its an option available... because if you remove/delete the INI LabVIEW exe will create a new INI with default values.
07-30-2013 10:10 PM
Yes. But I think if user can configure where to create the ini file, it should be nice. Looks that LabVIEW application builder don't have this option.
07-30-2013 10:11 PM
If you don't need any of the settings in the generated ini file, run a post-build VI that deletes it.
07-30-2013 10:14 PM
What is post-build VI?
It will be recreated if run the exe every time.
07-30-2013 11:10 PM
In the Build Specification: Pre/Post Build Actions -> Execute VI after build.
I have an exe, here, that has the default ini file next to it. When I delete it, running the exe does not create a new one.
Each time you Build the exe, though, the ini file is created. You can delete it by hand, or create a post-build VI that deletes it automatically