Working with Advanced Installer from the Command LineThe Advanced Installer command line allows you to build or edit projects without using the graphical interface. Building from command lineIn order to build a MSI from command line, you can use the following syntax: [path]\AdvancedInstaller.com /build [project_file_path] [-buildslist <builds_list>] [-force] Parameters:
Performing a clean RebuildIn order to build the project regardless whether the project was modified and without using any cached files, you can use the following syntax: [path]\AdvancedInstaller.com /rebuild [project_file_path] [-buildslist <builds_list>] ANT integrationIn order to include Advanced Installer in an ANT build you can add the following target to your build.xml file:
<target name="advinst">
<exec executable="[path]\AdvancedInstaller.com">
<arg line="/build [project].aip"/>
</exec>
</target>Executing a file of commandsYou can specify a text file containing a series of edit commands that will be executed in sequence. In order to execute a file of commands you can use the following syntax: AdvancedInstaller.com /execute <path_to_project_file> <command_file_path> [-nofail] Parameters:
When creating a file of commands there are some rules that must be taken into consideration:
Apart from the usual edit commands, inside the commands file you can use four more command options:
Example:;aic SetVersion 1.2 AddFile APPDIR\MyFolder C:\Folder\File.txt SetProperty TESTPROP="TestValue" save rebuild
Displaying the command line helpIn order to display the usage for the command line options available you could use the following syntax: AdvancedInstaller.com /help [<command>] | /? [<command>] | |
| Privacy Policy | Windows Installer | Search Engine Ranking | Link Analyzer | ||
| © 2002 - 2008 Caphyon Ltd. Trademarks belong to their respective owners. All rights reserved. | ||