LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Set AllowMultipleInstances in .ini File on Build

Solved!
Go to solution

I have hand-edited my exe application's .ini file to add the AllowMultipleInstances=true directive, and it works just fine. However, whenever I rebuild the applciation, I notice the .ini file gets overwritten, and I have to manually append the directive. Is there a way to specify the directive in the build process to avoid the manual step?

 

I am running LV 8.20.

 

Thanks

-Ted

0 Kudos
Message 1 of 2
(2,527 Views)
Solution
Accepted by topic author tpascaru

Hi Ted,

 

The oldest version I have on hand to refer to is 8.5, but I believe you should be able to specify a custom configuration (ini) file in the Advanced section of the Application Properties (Build Specification) window.  You'll need to create an maintain a version of the ini that you want to pull into the build - in your case you'll just need to add the modified file you currently have to your project.  Note that this will replace the ini that is usually automatically generated, so you'll need to update it if you change the name of the exe or something of that nature.

 

Regards,

Tom L.
Message 2 of 2
(2,517 Views)