title: How to install Python script on XBMC to automatically launch it at startup
body: <p>I need to install a Python script in XBMC environment to be launched automatically.
  The script interacts  with the execution of any video. It works and it is tested.</p>
  
  <p>Now I am looking to find a correct way to install the script by the final user.
  The installation must be able to register the script to be launched automatically after the XBMC is started. </p>
  
  <p>I succeded to launch the script automatically putting the following instructions
  in the autoeexec.py </p>
  
  <pre><code>import os
  import xbmc
  
  
  xbmc.executescript('special://home/scripts/playeractions.py')
  </code></pre>
  
  <p>My script is saved in the   <strong>scripts/playeractions.py</strong> .</p>
  
  <p>I am looking to find the instructions to make a correct installation that will install and register my script for auto launch on XBMC start up.</p>