Page 1 of 1

How to set Product Version from command line

Posted: Tue Apr 24, 2007 7:14 am
by maurosturaro
I've embed production of setup in my builds, but I want to pass ProductVersion without set it manually.

( n.b. sample project set this to a GUID but the balloon tell it must contain only number and period )

I've try to use a #ProductVersion# global variable, but the MSI Database Validation give me an error:
ICE24 ProductVersion: '#ProductVersion#' is an invalid version string.

how can I do this ?

Posted: Thu Apr 26, 2007 1:46 am
by maurosturaro
I've investigatd a little more:
My Installaware project has a name "MyProduct" but the output is configured to be "MyProduct Setup".

when I open the Tools->Validate Database the windows propose to check the file "....\\Release\\Uncompressed\\MyProduct.msi", not the real file name builded.
If I press OK it build a new file and it has the compiler variable non expanded in the Product Version.
If instead I check the "....\\Release\\Uncompressed\\MyProduct Setup.msi" the test is ok.