Problem with File Version reported by Windows

Got a problem you cannot solve? Try here.
Post Reply
Gareth Owen
Posts: 149
Joined: Fri Oct 21, 2005 8:42 am
Location: UK

Problem with File Version reported by Windows

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

Post 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).
Gareth Owen
Posts: 149
Joined: Fri Oct 21, 2005 8:42 am
Location: UK

Post by Gareth Owen »

Hmm, interesting, Is there any way I can use values from the command line for this version variable?
sinan
Site Admin
Posts: 1035
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post 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.
Gareth Owen
Posts: 149
Joined: Fri Oct 21, 2005 8:42 am
Location: UK

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

Post by sinan »

Great it works out! Thanks for the feature request - cannot guarantee shipment in the v5 time frame, but will try!
Post Reply