04-20-2021 03:56 PM
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.
Solved! Go to Solution.
07-06-2022 12:33 PM
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.
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.
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"