Add a Patch Reference via the command line build process

Got a problem you cannot solve? Try here.
Post Reply
mmiron
Posts: 19
Joined: Fri May 25, 2007 2:02 pm

Add a Patch Reference via the command line build process

Post by mmiron »

Just wondering if anyone knows how to automate the process of adding patch references to a project via the command line build?

Eg:
"C:\\Program Files\\InstallAware\\InstallAware 6\\miabuild.exe" MyProject.mpr /b=3 LANG=English STAGEDIR=c:\\patches\\stage\\MySourceFolder BRAND=MyBrand /o=MyOutputFolder

I'm looking for a way to call the MyProject.mpr and pass along one or more patch references to build from via the command line build.

Any thoughts or suggestions would be greatly appreciated.
mmiron
Posts: 19
Joined: Fri May 25, 2007 2:02 pm

Post by mmiron »

I'm assuming from the lack of response that it's not possible to do this with InstallAware?! This is sort of sad as it would be of great value to have this type of support. The only other option i see is to parse the .mpr file and hack it - but that's a hack and is not the route we would like to go.

If anyone has any alternative suggestions - that would be great.
Thanks.
nmoffatt
Posts: 13
Joined: Fri Jun 17, 2011 1:58 pm

Re: Add a Patch Reference via the command line build process

Post by nmoffatt »

Can somebody please confirm whether this is possible or not? I require the exact syntax to create a patch via miabuild so that I can have our build server automatically create patches.

Thanks,

Neil.
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Add a Patch Reference via the command line build process

Post by giaviv »

Neil,

This is unfortunately not possible using the command line.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
nmoffatt
Posts: 13
Joined: Fri Jun 17, 2011 1:58 pm

Re: Add a Patch Reference via the command line build process

Post by nmoffatt »

If the reference is added in the project file directly using the IA GUI. Will the reference be picked up when MIABUILD is called?

Our build server is currently not able to build the patch and I am just trying to work around the issue of not being able to specify it from the command line.

Thanks,

Neil
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Add a Patch Reference via the command line build process

Post by giaviv »

Neil,

What exactly do you mean by "picked up"? What are you trying to do?
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
amonteiro3
Posts: 27
Joined: Mon Jan 12, 2009 11:01 am

Re: Add a Patch Reference via the command line build process

Post by amonteiro3 »

While I'm not sure what Neil is trying to do, but it sounds like what I'd like to do. Which is:

When running Install Aware via the command line (i.e. as part of my automated build process), I would like to be able to specify the Install Aware setups (one or more) via a parameter. This would allow my automated build process to determine exactly which installations to create a patch for.

Currently, I have to manually start the Install Aware program, go to the patches tab, and click "Add..." for each installation I want to include in the patch.

Having command line switches would eliminate the need for me to manually update the install aware project every time I need to build a patch.

hope that helps.

Andy
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Add a Patch Reference via the command line build process

Post by giaviv »

Hi Andy,

I am afraid it is not possible to add a patch reference via the command line.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
amonteiro3
Posts: 27
Joined: Mon Jan 12, 2009 11:01 am

Re: Add a Patch Reference via the command line build process

Post by amonteiro3 »

Just tell me it's on the list of "things to do" one of the next releases then. :-)
MatDeveloper101
Posts: 1
Joined: Wed Feb 15, 2012 3:43 am

Re: Add a Patch Reference via the command line build process

Post by MatDeveloper101 »

I also need this feature to create patches via scripts, will it be possible in the future versions?
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Add a Patch Reference via the command line build process

Post by giaviv »

We will consider it - thank you.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply