I'm trying to have AI search for a file, branding.ini that has two items used for specifying our clients. How do I pull these values out and use them as the variables in the AI installation? I'm a beginner, so be gentle! :-)
You can retrieve values from an .ini file that is already present on the
target machine in the Windows folder only.In order to do this, you must:
- create a property named, let's say, "VALUE1" by using the "Search" -> "New Search" buttons.
- add a location for that property using "Add Location" -> "Ini File". In the "Identification" tab that appears, complete the "Name" of the .ini (branding.ini), the "Section" where the key is found and the "Key" that holds that value.
Repeat these steps for your property named, for instance, VALUE2 that will hold the other value that you need.
These searches are accomplished at the beginning of the installation, so you will be able to use these properties during the install process.
FOLLOW US
Get the latest news in Application Packaging