cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bobmcm461
Level 6

Retrieiving Version Number

I am attempting to write the Version number to the registry. How do I retrieve the version number that is stored in the Version Number on the General Information Tab. I thought that it was stored in the [VERSION] system variable, but when I write that value to the registry it comes out empty. I use the same technique to write the [INSTALLDIR] to the registry with no problem.

Thanks,
Bob McMahan
robert.mcmahan@siemens.com
Labels (1)
0 Kudos
(2) Replies
GarrettDyer
Level 5

bobmcm461 wrote:
I am attempting to write the Version number to the registry. How do I retrieve the version number that is stored in the Version Number on the General Information Tab.


I use this: [ProductVersion]
0 Kudos
bobmcm461
Level 6

GarrettDyer wrote:
I use this: [ProductVersion]


DOH! I tried [VERSION], [PRODUCTVERSION], [PRODUCT_VERSION]. I didn't know it was case sensitive. Tried [ProductVersion] and it worked great. Thanks for the assist.

Bob McMahan
robert.mcmahan@siemens.com
0 Kudos