How to set Product Version from command line

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

How to set Product Version from command line

Postby maurosturaro » Tue Apr 24, 2007 7:14 am

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 ?

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

Postby maurosturaro » Thu Apr 26, 2007 1:46 am

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.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 106 guests