LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

program ini

I'd like to build an app and have the executable ini file include the
"HideRootWindow=True" key after install. Possible?

I've tried to add a properly formatted ini to the files section of the
installer tab in app builder. no luck

TIA Jim
0 Kudos
Message 1 of 5
(3,358 Views)
Include it as a support file on the source files tab and it will work fine.

You can also use the .ini file VIs or just a simple file create and write to let the application create the .ini file upon startup, that way if the application is renamed it will still have a valid .ini file (the hideroot key won't be read until the next time it is launched though). The .ini file is also nice to use for other configurations, not just the LabVIEW keys.

Personally I use Inno Setup to create installers (http://www.jrsoftware.org/), free and much more flexible.
Message 2 of 5
(3,358 Views)
On Sat, 10 Jan 2004 07:06:55 -0600 (CST), Mads wrote:

>Include it as a support file on the source files tab and it will work
>fine.
>
>You can also use the .ini file VIs or just a simple file create and
>write to let the application create the .ini file upon startup, that
>way if the application is renamed it will still have a valid .ini file
>(the hideroot key won't be read until the next time it is launched
>though). The .ini file is also nice to use for other configurations,
>not just the LabVIEW keys.
>
>Personally I use Inno Setup to create installers
>(http://www.jrsoftware.org/), free and much more flexible.

Mads, the ini VI method worked nicely. Thanks.
I'll look at Inno. I assume that app builder is still required to
create ex
e & Inno for setup. Correct?
0 Kudos
Message 3 of 5
(3,358 Views)
From the outset I have had a routine create the INI with the hiderootwindow key, but only because I couldn't figure out how to do it otherwise. Both of your points are very helpful.
0 Kudos
Message 4 of 5
(3,358 Views)
You assume correct...

OpenG (www.openg.org) has a nice toolset to automate the build process by the way. Since Inno setup works on text scripts you can create an application that easily lets you do both things, and with an interface just the way you personally prefer it:-)
0 Kudos
Message 5 of 5
(3,358 Views)