mweintr
Posts: 10
Joined: Mon Sep 22, 2008 7:58 pm

Running AI via script/command line

We'd like to use Advanced Installer in an environment where it is started and run from our software's build server.

The files will generally not be changed, but the file versions will be changed with each build (sometimes daily, sometimes hourly, sometimes weekly). This is an entirely automated system, so we need to know if AI can behave within that realm. What we would like to do is script our server to do something like this, with a variable of an incremented version number, if AI cannot generate an incremented version number:

Code: Select all

AdvancedInstaller.exe projectname.aip --version 1.1.1 finalinstallername.exe
Is this possible?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Running AI via script/command line

Hi,

To change the version of your product you can use SetVersion command line.

Here are some others features offered by the command line.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mweintr
Posts: 10
Joined: Mon Sep 22, 2008 7:58 pm

Re: Running AI via script/command line

Great, thanks!

Return to “Common Problems”