many build types from command line

Got a problem you cannot solve? Try here.
Post Reply
maurosturaro
Posts: 22
Joined: Tue Mar 14, 2006 6:29 am

many build types from command line

Post by maurosturaro »

Hi,
I need to build many version of my setup from a batch.
The help tell that miabuild accept a parameter /b=<buildtype> where <buildtype> is 0 or 1 or 2 ...

how can I build all that versions with the same revision number ?
I've try
miabuild myproject.mpr /r /b=0 /b=1 /b=2 {...}
but it build only the uncompressed version.
If I run three different command with can I have the same revison number ?
Is the new revision number saved back to the project file ?

Thanks.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

The revision number is not saved back to the project file.
What you can do is use a compiler variable for the revision number, and then pass that in during your build.
That way you can do three builds sequentially without using the "/r" parameter.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
maurosturaro
Posts: 22
Joined: Tue Mar 14, 2006 6:29 am

Post by maurosturaro »

thanks, it works.

But for some future release I suggest an option like /b=12 /r to build single-file AND web based with the same new revision code, like is now possible from user interface.
Post Reply