NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Delete nce file when deploying the hardware configuration with the installer

Hi all !

I'm currently finalizing my TS deployment to install my whole test system (using TS deployment utility).

I decided to let the installer include my hardware configuration (through the 'Drivers anc Components' option), so I a made a NCE file and set the installer to embbed it.

Everything works fine when building the installer.

 

But when installing my system, the installer creates a folder to store the NCE so that MAX wizard can find it after the computer reboot. But it never deletes it when the import finishes !

I don't want the file to stay in the middle of my architecture, it is not clean at all:

 

Is there a way to force MAX or the installer to remove this NCE file after importation ? Or force the installer to copy it in a temp folder...

 

Thanks !

CLA, CTA, LV Champion
View Cyril Gambini's profile on LinkedIn
This post is made under CC BY 4.0 DEED licensing
0 Kudos
Message 1 of 4
(3,297 Views)

Hi,

 

May be you can install the nce file in the temp folder. In the TestStand deployement utility you can set the nce installation directory in the "Distributed Files" tab then click on the nce file in the tree and set the installation destination to "Temp Directory".

 

Best regards

0 Kudos
Message 2 of 4
(3,284 Views)

Good idea,

 

I'll try that and let you know if it is well cleaned after installation.

Thanks !

 

Cyril

CLA, CTA, LV Champion
View Cyril Gambini's profile on LinkedIn
This post is made under CC BY 4.0 DEED licensing
0 Kudos
Message 3 of 4
(3,282 Views)

We don't use the import feature build into the deployment utility. Instead we use the VI that does the same thing.

 

We've build an .exe that takes the path to the .nce as a command line argument and then call a batch file in the Custom Commands. You could then delete the .nce file in a custom command after the .exe has finished running.

CTA, CLA, MTFBWY
Message 4 of 4
(3,278 Views)