Ini_ReadEntry
Description
Reads value of entry
Â
Syntax
Ini_ReadEntry(sFile, sSection, sEntry, bMustExist) As Boolean
Â
Parameters
sFile (String)
Filename
sSection (String)
Section name
sEntry (String)
Entry name
bMustExist (Boolean)
Variable must exist
Â
Return value
Result will be stored in gsValue
Â
Example
VBScript
If bStatus Then bStatus = Ini_ReadEntry("C:\CapaInstaller.ini", "SectionName", "EntryName", True) If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)
Â