NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand 3.5 Deployment: How to extract the installed version string?

Under the Advanced options of the deployment dialog, you can specify the build version (and to automatically increment the build).

It seems this version get converted to a string and inserted in the registry as a DisplayVersion for the Windows Installer section.

 

This registry entry is attached to a GUID that will change everytime a new build is made?

 

How can I extract the version that was installed on the computer??

Any other approach possible other than the registry??

 

thx

Gig52

 

0 Kudos
Message 1 of 2
(2,823 Views)

Hello Gig52,

 

From the help on that field:

 

Version—Specifies the current software version number. The installer uses this number to check for a current installation and to check for upgrades. You must increment the version number to create versions of the installer capable of overwriting previous installers. The version corresponds to the [ProductVersion] Microsoft Installer (MSI) property

 

It is an MSI property so using the registry or SDK functions is going to be the way to go for what you are wanting to do.

With warm regards,

David D.
0 Kudos
Message 2 of 2
(2,788 Views)