Hello,
We are experiencing a bug with the Advanced Installer “Edit” Action, where /SetProperty is executed as:
Running AdvancedInstaller.exe with command line: /edit c:\tempdrop\setup.aip /SetProperty ProductName Daily CI
which results in:
Advanced Installer 10.0
Usage:
AdvancedInstaller.com <path_to_project_file>
AdvancedInstaller.com /help [] | /? []
AdvancedInstaller.com /build <path_to_project_file> { [-buildslist <builds_list>] | [-configurationslist <configurations_list>] } [-force]
AdvancedInstaller.com /rebuild <path_to_project_file> { [-buildslist <builds_list>] | [-configurationslist <configurations_list>] }
AdvancedInstaller.com /edit <path_to_project_file>
AdvancedInstaller.com /execute <path_to_project_file> <command_file_path> [-nofail]
AdvancedInstaller.com /loadpathvars <path_variables_file_path>
AdvancedInstaller.com /newproject <path_to_project_file> [-type project_type] [-lang project_language] [-overwrite]
AdvancedInstaller.com /register <license_id>
SetProperty command:
/SetProperty <name=value> [-buildname <build_name>]
Action Failed with Return Code : -536805276
The correct command line is (at least for the latest versions of AI. We tested v9.9 and v10):
/edit c:\tempdrop\setup.aip /SetProperty ProductName=“Daily CI”
So FB is missing 2 things for the command line to work. The quotation marks, which can be inserted by “%var%” as workaround. But more importantly the equal sign key=value without spaces.
Thank you.</build_name></name=value></license_id></path_to_project_file></path_variables_file_path></command_file_path></path_to_project_file></path_to_project_file></configurations_list></builds_list></path_to_project_file></configurations_list></builds_list></path_to_project_file></path_to_project_file>
Looks like they changes the command line options for later version. Just checked in a fix, will post here when the fix is available.
This build has the fix :
http://downloads.finalbuilder.com/downloads/finalbuilder/700/FB700_2197.exe