How to tell VERSION to miabuild.exe?

Got a problem you cannot solve? Try here.
Post Reply
swarovski
Posts: 109
Joined: Mon Apr 16, 2007 8:32 pm

How to tell VERSION to miabuild.exe?

Post 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!
sinan
Site Admin
Posts: 1037
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post 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.
Post Reply