InstallerContactSite Map

Command Syntax

/AddIniLocator  <property_name> 
                -signature <search_signature> 
                -filename <file_name>
                -section <ini_file_section> 
                -key <ini_file_key> 
                [-field <ini_file_entry>]
                [-type {LocatorTypeDirectory|LocatorTypeFileName|LocatorTypeRawValue}]

Creates a new INI file search.

Parameters:

  • <property_name>
  • The name of the property that will store the result of the search.
  • <search_signature>
  • The signature of the search.
  • -filename <file_name>
  • The .ini file name.
  • -section <ini_file_section>
  • Section name within the .ini file.
  • -key <ini_file_key>
  • Key value within the section.
  • [-field <ini_file_entry>]
  • The field in the .ini line. If not specified then the entire line is read.
  • [-type {LocatorTypeDirectory|LocatorTypeFileName|LocatorTypeRawValue}]
  • A value that determines whether the .ini value is a file location, a directory location, or raw .ini value.

Example:

AdvancedInstaller.com /edit MyProject.aip 
    /AddIniLocator INI_SEARCH_RESULT -signature ini_search 
    -filename ConfigFile.ini -section Default -key Path