Difference between revisions of "Python"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Fix spelling mistake.)
(Add link to official upstream docs for msi installation of Python)
Line 12: Line 12:
 
     <install cmd="msiexec /q /i %SOFTWARE%\python\python-2.4.1.msi TARGETDIR=&quot;%PROGRAMFILES%\Python&quot; ALLUSERS=1 REBOOT=ReallySuppress" />
 
     <install cmd="msiexec /q /i %SOFTWARE%\python\python-2.4.1.msi TARGETDIR=&quot;%PROGRAMFILES%\Python&quot; ALLUSERS=1 REBOOT=ReallySuppress" />
 
  </package>
 
  </package>
 +
 +
See http://www.python.org/download/releases/2.5/msi/
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Revision as of 05:45, 15 January 2008

This installer can be used for the distutils Python distribution (www.python.org). AFAIK it will not work for Python < 2.4.

This configuration installs to %PROGRAMFILES%\Python and not to the default location C:\Python24 in order to show how to configure an arbitrary path:

<package
   id="python"
   name="Python"
   revision="0"
   reboot="false"
   priority="0">
   <check type="file" condition="exists" path="C:\Programme\Python\python.exe" />
   <install cmd="msiexec /q /i %SOFTWARE%\python\python-2.4.1.msi TARGETDIR="%PROGRAMFILES%\Python" ALLUSERS=1 REBOOT=ReallySuppress" />
</package>

See http://www.python.org/download/releases/2.5/msi/