‎11-13-2012 04:51 AM
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!
‎11-15-2012 04:58 AM
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
‎11-15-2012 09:35 AM
Hi kewsvnet,
What version of TestStand are you using?
Regards
Anand Jain
National Instruments
‎04-16-2014 08:52 AM
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