Page 1 of 1

How to tell VERSION to miabuild.exe?

Posted: Thu Dec 27, 2007 9:35 pm
by swarovski
How could I specify the version number to the miabuild.exe command?

I have tried to use VERSION=2.0.0.0 but it's not working.
The Setup.exe which generated is still the version number stored in the MPR file.

Is this actually possible or not?
Please advise if you have any idea. Thanks very much!

Posted: Wed Jan 21, 2009 7:06 pm
by sinan
You can do this by setting the version number field inside the IDE to a compiler variable and then setting the value of the compiler variable to any version you like from the command line.

So for instance, instead of hard coding a version like 1.2.3, enter #MYVERSION# in the version field, and then on the command line when building with miabuild.exe specify MYVERSION=4.5.6.