mhubel
Posts: 28
Joined: Fri Jul 20, 2007 2:01 pm
Contact: Website

keyless value in .ini file

Is it possible to have the installer generate an entry in a .ini file with no key, only a value? We want the resulting .ini file to effectively look like:

[Directories]
c:\nm\archive


where c:\nm\ would be replaced in the properties with [APPDIR]
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: keyless value in .ini file

Hello,

When adding an entry in the Edit INI File Dialog, you are forced to add a key (if the key field is empty, the Ok button is disabled), see below:
Add ini entry.png
Add ini entry.png (45.27 KiB) Viewed 2310 times
You can add a blanc space in the Key field from the Edit INI File Dialog and you will be able to add an entry in the .ini without a key.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”