NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying Station Globals Best Practices

I'm currently testing out the TestStand Deployment Utility to deploy test sequencers from my developer system to our test systems.
I have run into a bit of a wall here while testing out the MSI installer approach. These are the steps I took:

 

1. I used the MSI full deployment setting:

chbomirrobotscom_0-1722433620152.png  

 


2. I chose the directory of my TestStand system, along with the TestStand Configuration directory, to include the StationGlobals.ini file:

From_Directory.png

 


3. Initially I got this error code -17306, which happened because the StationGlobals.ini never updated.

 

Station_Globals_missing.png

 


4. I tried to remedy this by ticking off the "Force File to Install" box:

 

Force_Install.png

This seems to have worked as a temporary solution.

 



5. Finally my question:

I don't like this solution, as if I should choose to uninstall this in the test computers, the StationGlobals.ini file will also be deleted from the Cfg folder.
What is the ideal solution here? I am tired of copy pasting files on all my test computers every time there is an update.

Thanks!

0 Kudos
Message 1 of 2
(212 Views)

I believe that if the existing non-versioned file, StationGlobals.ini, on the system has a later date-time stamp than what you are trying to install, MSI will not replace the file. Using the option you mentioned will ignore that default behavior and overwrite the newer file on disk with the older date-time file in the installer.

 

If you were creating an MSI using WiX tooling, there are ways to "version" non-version files by associating them with companion versioned files, and that would be a way to "version" a non-version file. Likely not worth the effort.

Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 2
(198 Views)