NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand Deployment Utility API

Is there any API for the TestStand Deployment Utility I can use in labview to automatically launch a TSD file and build the deployment. I would like to create a little labview program which automates the whole process of creating deployments for me, especially when it is a minor change in subVI underneath, and none of the deployment configuration needs changing.

 

Any info would be appreciated!

0 Kudos
Message 1 of 4
(3,260 Views)

Hi kewsvnet

 

Sorry the the delay in getting back to you.

There isn't currently a TestStand Deployment Utility API for LabVIEW, the closest I think you can get at the moment is to do a command-line deployment build by calling the System Exec VI.

 

i.e.

"C:\Program Files\National Instruments\Teststand 2010\Components\Tools\Deployment Utility\DeploymentUtility.exe" build "C:\mydeployment.tsd" 

As the string input should build mydeployment.tsd

 

Note:This is an undocumented internal feature we use for Testing the deployment utility.   The interface is very limited - you can do a build but there is no way

to set parameters and no return value so you have to parse the log to determine if the build succeeded. There is further discussion of this here in a previous forum post.

 

Kind Regards

Chris | Applications Engineer NIUK
0 Kudos
Message 2 of 4
(3,235 Views)

Hi kewsvnet, 

 

What version of TestStand are you using?

 

Regards

Anand Jain

National Instruments

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

Hey Chris,

 

Heard that there is a flag called "/versionString" which is passed as an argument to the DeploymentUtility.exe for setting the Product Version of the output MSI. It is not working for me? Do I need to install any patch for working that. I am using TestStand 2013. Please help me.

 

Kalesh

0 Kudos
Message 4 of 4
(2,939 Views)