NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand package deployment installation directory

Solved!
Go to solution

I'm trying to streamline our NI deployment routine, and I'm having some trouble with TestStand Deployment Utility.

I'm creating a Package-Based Distribution: Single Package.

The problem I'm having is that when installing the package with the defined package installation destination: TestStand Public Documents Directory, I'm not getting the destination folder I'm expecting.

chbomirrobotscom_0-1736413835756.png

 

chbomirrobotscom_2-1736413871802.png


Instead of installing in the "TestStand 2023 (32-bit)" folder, the package installation creates a new folder called "TestStand 2023 Q4 (32-bit)"

Is there a way to edit how the deployment utility interprets the "TestStand Public Documents Directory"?

This would save me a lot of trouble, as I wouldn't have to change the folder naming scheme of our entire production test setup.

0 Kudos
Message 1 of 8
(93 Views)

%TestStandPublic% is always linked to a folder with the TestStand Version.

 

[ProgramData]\YourCustomStructHere

 

could be a workaround

 

 

 

 

 

0 Kudos
Message 2 of 8
(90 Views)

@Oli_Wachno wrote:

%TestStandPublic% is always linked to a folder with the TestStand Version.

 


Typing %TestStandPublic% in file explorer links to this folder:

chbomirrobotscom_0-1736415234678.png

NOT the Q4 folder.


@Oli_Wachno wrote:

[ProgramData]\YourCustomStructHere

 

could be a workaround


Okay but how? These are my options:

chbomirrobotscom_1-1736415319254.png



0 Kudos
Message 3 of 8
(81 Views)

chbo@mir-robots.com wrote:

@Oli_Wachno wrote:

%TestStandPublic% is always linked to a folder with the TestStand Version.

 


Typing %TestStandPublic% in file explorer links to this folder:

chbomirrobotscom_0-1736415234678.png

NOT the Q4 folder.


@Oli_Wachno wrote:

[ProgramData]\YourCustomStructHere

 

could be a workaround


Okay but how? These are my options:

chbomirrobotscom_1-1736415319254.png




Haven't used the Package-based deployment from TestStand yet (been tinkering aroung with Package Builder lately).... just tried to look into it...

I don't see the option box like in your screenshot, when selecting Package Based-Single Package

 

Oli_Wachno_0-1736416868723.png

 

Which TS version are you using?

0 Kudos
Message 4 of 8
(68 Views)

Thats because you're looking in the wrong tab:

chbomirrobotscom_0-1736417017642.png

The Package distribution output directory only refers to the output of the .nipkg file.

Actually, the more I look into this the more confused I am..
In my environment variables:

chbomirrobotscom_0-1736418255892.png

It makes no sense to my why it doesn't use this folder, and instead creates a new folder with a different name.

0 Kudos
Message 5 of 8
(65 Views)
Solution
Accepted by chbo@mir-robots.com

Stupid me...

 

So the Package Builder seesm to offer more options compared to the deployment tool...

 

Nevertheless, most similar to what I intendend would be

 

Oli_Wachno_0-1736418214302.png

 

From there, you can configure sub dir structure to your liking

 

Oli_Wachno_1-1736418282171.png

 

 

Message 6 of 8
(53 Views)

@Oli_Wachno wrote:

Stupid me...

 

So the Package Builder seesm to offer more options compared to the deployment tool...

 

Nevertheless, most similar to what I intendend would be

 

Oli_Wachno_0-1736418214302.png

 

From there, you can configure sub dir structure to your liking

 

Oli_Wachno_1-1736418282171.png


Lovely! Just what I was looking for!
Doesn't explain the weird folder behavior, but it solves my issue.. hopefully.

I'll test it out and report my findings.

Message 7 of 8
(47 Views)

Update
Everything now works as intended.

Message 8 of 8
(37 Views)