Problem with File Version reported by Windows

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

Problem with File Version reported by Windows

Postby Gareth Owen » Sat Dec 03, 2005 9:22 am

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: 1028
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Sun Dec 04, 2005 8:21 am

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

Postby Gareth Owen » Mon Dec 05, 2005 2:37 am

Hmm, interesting, Is there any way I can use values from the command line for this version variable?

sinan
Site Admin
Posts: 1028
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Mon Dec 05, 2005 6:27 am

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

Postby Gareth Owen » Tue Dec 06, 2005 6:54 am

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: 1028
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Tue Dec 06, 2005 7:40 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 124 guests