title: python 2.7 windows silent installer (.msi) - command-line option to set the path?
body: <p>When installing python 2.7 on Windows using silent installer (.msi), is there a command-line option to add Python to path environment variable, like the GUI option?</p>
  
  <p>Python 3.5 installer includes an option PrependPath=0 by default, but can Python 2.7 use it?</p>
  
  <p><a href="https://docs.python.org/3/using/windows.html" rel="nofollow noreferrer">https://docs.python.org/3/using/windows.html</a></p>
  
  <p>Looks like this issue was discussed here, but no resolution for Python 2.7?</p>
  
  <p><a href="https://bugs.python.org/issue3561" rel="nofollow noreferrer">https://bugs.python.org/issue3561</a></p>
  
  <p>EDIT</p>
  
  <hr>
  
  <p>this batch command rocks!!!</p>
  
  <p>setx \M PATH "%PATH%;C:\Python\Python27;C:\Python\Python27\Scripts"</p>
  
  <p>but setx will truncate the stored %PATH% string to 1024 bytes.</p>