many build types from command line

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

many build types from command line

Postby maurosturaro » Mon May 14, 2007 12:13 pm

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:

Postby MichaelNesmith » Tue May 15, 2007 2:13 pm

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
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

maurosturaro
Posts: 22
Joined: Tue Mar 14, 2006 6:29 am

Postby maurosturaro » Tue May 29, 2007 9:06 am

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.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 134 guests