Page 1 of 1

Problem with File Version reported by Windows

Posted: Sat Dec 03, 2005 9:22 am
by Gareth Owen
I have just had a look at the file properties for the IA installation of our application,

On the version tab you see the File version: at the top, this is being displayed as 0.39.78.32044. I have no idea where this has come from, is it the IA version?

In the Other version information, the File Version there is displaying #RMXVERSION#

I was trying to put a compiler variable in the Product Version set in IA as this value will be autogenerated by our build script. I was hoping to be able to use this auto generated value in the installer and have it displayed in the file verison.

Any help greatfully received.

P.S The multiple install stuff is great, I have not had too much time to play with it, but it is looking good so far. :D

Posted: Sun Dec 04, 2005 8:21 am
by sinan
Ah, compiler variables are only substituted within the setup script.

Outside the setup script they have no effect. That is why you are seeing the variable itself as the file version (or, in the case of the strange number, Windows's conversion of it to a "version number).

Posted: Mon Dec 05, 2005 2:37 am
by Gareth Owen
Hmm, interesting, Is there any way I can use values from the command line for this version variable?

Posted: Mon Dec 05, 2005 6:27 am
by sinan
Not really, sorry.

If all you're after is the appearance of the correct version in the ARP applet, you can achieve that easily though:

Define your own compiler variable and then in your script set TITLE to $TITLE$ #COMPVAR# where COMPVAR is your self defined compiler variable for the version info.

Posted: Tue Dec 06, 2005 6:54 am
by Gareth Owen
Yep, that is what I have done, I'm sure I can survive with this :P

Any chance of adding this as a feature request :idea:

Posted: Tue Dec 06, 2005 7:40 am
by sinan
Great it works out! Thanks for the feature request - cannot guarantee shipment in the v5 time frame, but will try!