Page 1 of 1

Can IA create a new installer in batch after a Jenkins build

Posted: Tue Jun 18, 2013 10:11 am
by JohnO
Hello
I have been reading your white papers on the various topics, so suffering a little from information overload. So, I apologise if this is already covered there, or elsewhere in the forum (difficult to find right keywords for successful search).

We build our applications as Eclipse Rich Clients, using Jenkins (Hudson), which creates an archive zip file if all of the unit test streams pass. What we would like to do is to invoke IA via a command after the archive has been created, such that it will build the installer for this specific version - no human intervention. Can this be done?

As I see it, I would have defined the required installer in IA for say version 2.2. At the end of the Jenkins step that builds the 2.2 archive, it would then build the 2.2 installer.

That would also allow our testing team to start their testing via an install/patch, so that step gets well tested.

Regards, John

Re: Can IA create a new installer in batch after a Jenkins b

Posted: Tue Jun 18, 2013 12:23 pm
by FrancescoT
Dear John,

If I haven't missed anything, what you want to release can be easily done just calling the InstallAware command line tool.

"InstallAware includes a command line build utility which you may use in batch files, automated build processes, or just plain from the command line"
In addition you can even specify additional arguments as COMPILER VARIABLE in order to control the setup package generation.

The buil tool emits a setup package using a project previously defined using IA IDE.

Alternatively, InstallAware ships with an automation interface that can be used to programmatically emit and build complete setup projects. The automation interface is available as both a standard Win32 DLL, callable from any Windows application, and as a COM object, for use in ASP scripts on a web server.

PLEASE NOTE
The InstallAware command line build tool is not available with the InstallAware Express edition.
InstallAware Automation Interface is available with IA Studio Admin edition only.

Hope this helps you.

Regards

Re: Can IA create a new installer in batch after a Jenkins b

Posted: Tue Jun 18, 2013 1:47 pm
by JohnO
Francesco
Many thanks for the speedy and complete reply. I think I do recall seeing the test you quoted!
It is the Studio edition that looks to meet our needs, so that's OK. I will study the paper where it talks about the command-line interface, and double check on the automation interface.
Regards, John

Re: Can IA create a new installer in batch after a Jenkins b

Posted: Wed Jun 19, 2013 11:02 am
by FrancescoT
:D :D :D