NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TSDU VersionString for Package-Based Distriubtuion

Solved!
Go to solution

Is there a way to use the TSDU Command Line Arguments to set the Deployment Version property?  I've tried using the /versionString argument, but it doesn't seem to take it.  I am wondering if this is an unsupported feature for package-based distributions.

sdusing_0-1618952185095.png

 

Steven Dusing
CLA, CTA
0 Kudos
Message 1 of 2
(1,041 Views)
Solution
Accepted by topic author sdusing

After speaking with NI support, they offered this solution, which does appear to work.

 

When you are configuring your deployment, first select "MSI-Based Installer" and go to Installer Options > Advanced Options and make sure the Auto-Increment and Lock to Deployment Version checkboxes are not checked.

sdusing_2-1657128760108.png

 

Then select "Package-Based Distribution" and go to Package Distribution Options -> Configure Package Attributes and make sure the Auto-Increment and Lock to Deployment Version checkboxes are not checked. 

sdusing_1-1657128732971.png

 

Now the following command line script works

"C:\Program Files\National Instruments\TestStand 2021\Bin\BuildTSD.exe" /versionString "1.2.3.4" "C:\Projects\MyCustom.tsd"

 

 

 

Steven Dusing
CLA, CTA
Message 2 of 2
(793 Views)