I have a installer script where I want to add a new Prerequisite with the /NewPrerequisite command. This is what I have so far:
Code: Select all
"C:\Program Files\Caphyon\Advanced Installer 6.9.1\AdvancedInstaller.com" /edit "C:\test for BC5.aip" /NewPrerequisite Borland C -prereq_type UrlBased -prereq_path http://altd.embarcadero.com/download/bcppbuilder/freecommandLinetools.exe -search_type FileVersion -search_path bcc32.exe -search_depth 3 -minversion 5.0
What am I missing here?Advanced Installer version 6.9.1
Usage:
AdvancedInstaller.exe <path_to_project_file>
AdvancedInstaller.exe /help [<command>] | /? [<command>]
AdvancedInstaller.exe /build <path_to_project_file> [-buildslist <builds_list>]
AdvancedInstaller.exe /rebuild <path_to_project_file> [-buildslist <builds_list>]
AdvancedInstaller.exe /edit <path_to_project_file> <command>
AdvancedInstaller.exe /execute <path_to_project_file> <command_file_path> [-nofail]
NewPrerequisite command:
/NewPrerequisite <display_name> -prereq_type <FileBased|UrlBased|OpenSite> -prereq_path <prereq_path> [-cmd_line <cm
d_line>] [-extract_folder <extract_folder>] [-64bit] [-lzma_compresion] [-size <prereq_file_size>] [-md5 <prereq_file_md
5>] [-target_os <Win9x|WinNT|Win64>] [-force_install] -search_type <FileVersion|RegSubKeyEnum|RegValue> -search_path <se
arch_path> [-search_depth <search_depth>] [-minversion <minimum_version>] [-maxversion <maximum_version>] [-aditionalfil
es <aditional_files>] [-builds <builds_list>]
Thanks!
Patrick