NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to include Python and pyserial installation in a TestStand MSI deployment?

Solved!
Go to solution

Hi

 

We are developing a production test system based on:

  • TestStand 2019
  • LabVIEW 2019 (for some PreUUT and PostUUT actions)
  • Python 3.8 (for code modules)

We already have two MSI deployments for almost all parts (including runtimes for TestStand and LabVIEW), based on NI's best practices:

https://www.ni.com/sv-se/support/documentation/supplemental/08/teststand-system-deployment-best-prac...

 

We are now trying to figure out if we can include the installation of python and pyserial in our MSI deployment.

 

Specifically, the production machines must have the following installed:

  • python-3.8.3.exe
  • python -m pip install pyserial (executed in Command Prompt)

What is the recommended way to achieve this?

Message 1 of 2
(2,489 Views)
Solution
Accepted by topic author SebastianBengtsson

Answering my own question.

 

I used Custom Commands to execute third-party installers, as described here:

 

https://zone.ni.com/reference/en-XX/help/370052AA-01/tsdeploysystem/infotopics/customcommands/

0 Kudos
Message 2 of 2
(2,393 Views)