Page 1 of 1

Add a Patch Reference via the command line build process

Posted: Fri Aug 24, 2007 12:16 pm
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.

Posted: Tue Aug 28, 2007 8:49 am
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.

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

Posted: Wed Oct 05, 2011 1:50 pm
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.

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

Posted: Thu Oct 06, 2011 12:01 pm
by giaviv
Neil,

This is unfortunately not possible using the command line.

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

Posted: Wed Oct 12, 2011 3:23 pm
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

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

Posted: Thu Oct 13, 2011 8:48 am
by giaviv
Neil,

What exactly do you mean by "picked up"? What are you trying to do?

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

Posted: Fri Dec 16, 2011 8:32 am
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

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

Posted: Sun Dec 18, 2011 5:13 pm
by giaviv
Hi Andy,

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

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

Posted: Sun Dec 18, 2011 5:22 pm
by amonteiro3
Just tell me it's on the list of "things to do" one of the next releases then. :-)

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

Posted: Wed Feb 15, 2012 3:46 am
by MatDeveloper101
I also need this feature to create patches via scripts, will it be possible in the future versions?

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

Posted: Wed Feb 15, 2012 9:29 pm
by giaviv
We will consider it - thank you.