LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the ini file location which is auto generated when build exe?

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.

0 Kudos
Message 1 of 6
(2,971 Views)

I dont think its an option available... because if you remove/delete the INI LabVIEW exe will create a new INI with default values.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 2 of 6
(2,961 Views)

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.

0 Kudos
Message 3 of 6
(2,954 Views)

If you don't need any of the settings in the generated ini file, run a post-build VI that deletes it.

0 Kudos
Message 4 of 6
(2,953 Views)

What is post-build VI?

It will be recreated if run the exe every time.

0 Kudos
Message 5 of 6
(2,951 Views)

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

0 Kudos
Message 6 of 6
(2,944 Views)