NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

display software version


I am running TS 4.0.  I want to be able to display the software version on all of the deployment systems at our manufacturing facility.  I don't mean the version of Teststand.  I mean the deployment build version.  Tools->Deploy Teststand System->Installer Options Tab->Advanced Options->Version.   TS uses this number to check for upgrades when installing the deployment, but I want to use it to ensure all the deployment systems have the latest deployment build installed.   Thanks for the help.

0 Kudos
Message 1 of 4
(3,223 Views)
Hi bolinger,
 
When you say you want to display the software (build) version, where do you want to display it? Do you simply want to be able to access it from the installer?
 
If so, this information is present in the setup.ini file that the Deployment Tool generates and is located in the same folder as the setup.exe file.
The information is under the [Distribution] group as in this excerpt:
 
[Distribution]
Title=1
GUID={670AA024-D09E-43C2-88DF-918C754FE761}
PackageGUID={88F55C68-C9A9-4DFB-A865-545E01E7F26F}
Version=1.0.5
 
Hope this helps!
Jervin Justin
NI TestStand Product Manager
0 Kudos
Message 2 of 4
(3,193 Views)

That is the info I want displayed, but I want to be able to display it to the end user on the deployment system.  Maybe via Message Popup.  We have a half dozen units on the manufacturing floor and I want an easy way to ensure that they are all updated to the same version.  Thanks for the help.

0 Kudos
Message 3 of 4
(3,178 Views)

Hi Bolinger,

So you basically want the version number to be present on the deployment machine after deployment and be able to get to it later?

If so, one thing you could do is add a custom command to your installer, which basically runs a custom command that you specify after the installation completes.

For instance, a simple example you could copy the setup.ini to the deployment computer by adding a custom command like the screenshot. This way, later, you can always look at the version number later.

FYI, the copy.bat file simply contains:
copy setup.ini c:\setup.ini
You can always make the custom step more complicated to do more things like say a C# application that will do a message popup or something, that's up to you.

Is this what you were looking for?



Message Edited by Jervin_J on 03-31-2008 03:57 PM
Jervin Justin
NI TestStand Product Manager
0 Kudos
Message 4 of 4
(3,155 Views)