title: How to automate a software installation on remote [windows and linux ] machine using python 3.x
body: <p>I am new to python programming, I want to automate a software installation on remote machine [windows and linux] with python 3.x.
  I have tried with pywinauto to automate windows application installation on local machine and it's working fine. so I want to automate same application on remote machine.How I can do this on remote machine from running python script on local-machine? 
  Can any one help on this.</p>
  
  <p>Below is the code for automate application on local machine.</p>
  
  <pre><code>from pywinauto.application import Application as App
  import time
  import math
  start = time.time()
  app = App().start('C:\\Anaconda3-2018.12-Windows-x86_64.exe')
  time.sleep(1)
  ctrl = app['Anaconda3_2018.12(64-bit)_Setup']
  ctrl.Next.click()
  ctrl.IAgree.click()
  #ctrl.print_control_identifiers()
  ctrl.child_window(title="Just Me (recommended)", 
  class_name="Button").click()
  ctrl.Next.click()
  ctrl.Edit.wait('ready').type_keys(r'C:\xx\Continuum\anaconda3', 
  with_spaces = True)
  ctrl.Next.click()
  #ctrl.print_control_identifiers()
  #ctrl.child_window(title="Add Anaconda to my &amp;PATH environment variable", 
  class_name="Button").click()
  ctrl.Install.click()
  #ctrl.print_control_identifiers()
  ctrl.Next.wait('enabled',timeout = 600).click()
  time.sleep(2)
  ctrl.Skip.click()
  time.sleep(1)
  ctrl.Finish.wait('ready').click()
  endTime = math.ceil((time.time()-start)/60)
  print ('Script has taken', endTime, 'Minutes..')
  </code></pre>