Difference between revisions of "Python"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 1: Line 1:
 
This installer can be used for the [http://www.python.org distutils Python distribution] (www.python.org). AFAIK it will not work for Python < 2.4.
 
This installer can be used for the [http://www.python.org distutils Python distribution] (www.python.org). AFAIK it will not work for Python < 2.4.
  
This configuration installs to C:\Programme\Python and not to the default location C:\Python24 in order to show how to configure an arbitratry path:
+
This configuration installs to %PROGRAMFILES%\Python and not to the default location C:\Python24 in order to show how to configure an arbitratry path:
  
 
  <package
 
  <package
Line 10: Line 10:
 
     priority="0">
 
     priority="0">
 
     <check type="file" condition="exists" path="C:\Programme\Python\python.exe" />
 
     <check type="file" condition="exists" path="C:\Programme\Python\python.exe" />
     <install cmd="msiexec /q /i \\server\wpkg\python\python-2.4.1.msi TARGETDIR=&quot;C:\Programme\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" />
        <exit code="0" />
+
    </install>
+
 
  </package>
 
  </package>
  
[[category:Silent Installers|Python 2.4]]
+
[[category:Silent Installers]]

Revision as of 12:03, 3 October 2006

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 arbitratry 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>