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

For all your non-technical questions.
JohnO
Posts: 127
Joined: Tue Jun 18, 2013 9:52 am

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

Postby JohnO » Tue Jun 18, 2013 10:11 am

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

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

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

Postby FrancescoT » Tue Jun 18, 2013 12:23 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

JohnO
Posts: 127
Joined: Tue Jun 18, 2013 9:52 am

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

Postby JohnO » Tue Jun 18, 2013 1:47 pm

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

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

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

Postby FrancescoT » Wed Jun 19, 2013 11:02 am

:D :D :D
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Non-Technical”

Who is online

Users browsing this forum: Baidu [Spider] and 35 guests