Read a key from an .ini file
This custom action retrieves a string from the specified section in an initialization file. Some applications may still work with .ini files although Win32-based applications should store initialization information in the registry.
Format of an INI file:
|Property Name||Data Type||Description|
|AppName||String||Specifies the section containing the key name. This section name is typically the name of the calling application. Do not add the enclosing brackets [ ] yourself.|
|IniFile||String||Points to a string that names the initialization file. Do not forget the .ini extension and its path. Example: %WIN%\Myappli.ini|
|Key||String||Contains the name of the key to be associated with a string.|
|Variable||VarName||This is the variable that will store the result read from the .ini file. For example %MyIniValue%.\ %MyIniValue% can be any value, such as a path to a file or a number. If the key is not found, a blank value is returned.|
© G.D.G. Software 2018. All rights reserved.