0

I have a program that I would like to automatically install by using a python script.

This program provides their installation file as an .exe file. It can be executed in a linux environment and initially prompts the user whether he would like to install this program and expects a key input [Y/n]. Then it are prompts the user to enter Acknowledged while showing the terms of service, and afterwards you are asked to specify a few more installation specifications, all through prompting keystrokes.

Is it possible to perform this installation process automatically? I thought about using subprocess.Popen to launch the exe, but don't know how to proceed from there and how to provide the correct inputs upon being prompted.

dmmpie
  • 365
  • 2
  • 14

0 Answers0