InstallerContactSite Map

Command Syntax

/AddFileSearch  <property_name> 
                   -signature <search_signature> 
                   -filename <file_name>
                   [-languages <languages>] 
                   [-minversion <version_string>] 
                   [-maxversion <version_string>] 
                   [-minsize <file_size>]
                   [-maxsize <file_size>] 
                   [-mindate <date_string>] 
                   [-maxdate <date_string>]

Creates a new file search.

Parameters:

  • <property_name>
  • The name of the resulted search property.
  • -signature <search_signature>
  • The signature of the search. It used to identify the search.
  • -filename <file_name>
  • The name of the file.
  • [-languages <languages>]
  • The possible languages of the file.
  • [-minversion <version_string>]
  • The minimum version of the retrieved file so the search would be considered successful
  • [-maxversion <version_string>]
  • The maximum version of the file.
  • [-minsize <file_size>]
  • The minimum size of the file.
  • [-maxsize <file_size>]
  • The maximum size of the file.
  • [-mindate <date_string>]
  • The minimum date of the file. The date format is dd/mm/yyyy.
  • [-maxdate <date_string>]
  • The maximum date of the file. The date format is dd/mm/yyyy.

ImportantIn order to specify the location where the file should be looked up use the /AddDrLocator command to add a new folder search with the same property and signature as the file search.

Example:

AdvancedInstaller.com /edit MyProject.aip 
    /AddFileSearch FILE_SEARCH_RESULT -signature file_search 
    -filename File.exe

AdvancedInstaller.com /edit MyProject.aip 
    /AddDrLocator FILE_SEARCH_RESULT -signature file_search 
    -path ProgramFilesFolder -depth 2