Page 1 of 1

How to set revision code

Posted: Tue May 09, 2006 9:46 am
by MikeFieger
Hi!

We are building a cd setup and a web setup on our server at night and these two setups need to have the same revision code to be compatible.

What is the best approach to do this?

We tried to set the revision code to the value of a compiler variable passed to miabuild.exe but that didn“t work.

Has the behaviour of InstallAware changed between version 5.0 and 5.31?

Posted: Tue May 09, 2006 4:43 pm
by MichaelNesmith
Revision codes are not changed when building from the command line, unless you explicitly specify the change revision code option. You should set the revision code in the IDE and use that one for your builds.

Posted: Wed May 10, 2006 5:16 am
by MikeFieger
If I can not set the revision code to a specific guid when building from the command line, how can I then assure that our nightly cd-setup and web-setup have the same revision code?

After all it is the same revision! It is just a different level of setup compression.

Or are cd-setups and web-setups so different that they can not be used alternatively, even if they have the same revision code?

Posted: Tue May 16, 2006 1:09 am
by MikeFieger
Can anyone answer that question?

Posted: Tue May 16, 2006 11:30 am
by MichaelNesmith
Actually, you should use different codes for your CD and web builds.