Automated installation framework

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nikolai Kirsebom

    Automated installation framework

    Does anyone know of an 'automated installation framework' written in
    Python / accessible from Python ?

    Could it be an idea to use the unittest module as a framework for
    making such a system, using the 'setup-action' to make precondition
    testing, 'run' to do the actual installation and the 'teardown-action'
    to do verification.

    Opinions are appreciated.


    In our case, the target system is (multi-machine) Windows.


    Nikolai

  • David Fraser

    #2
    Re: Automated installation framework

    Nikolai Kirsebom wrote:[color=blue]
    > Does anyone know of an 'automated installation framework' written in
    > Python / accessible from Python ?
    >
    > Could it be an idea to use the unittest module as a framework for
    > making such a system, using the 'setup-action' to make precondition
    > testing, 'run' to do the actual installation and the 'teardown-action'
    > to do verification.
    >
    > Opinions are appreciated.
    >
    >
    > In our case, the target system is (multi-machine) Windows.
    >
    >
    > Nikolai
    >[/color]
    It sounds like you are looking for the distutils included in Python.
    Though they could use some enhancement :-)

    David

    Comment

    • Thomas Heller

      #3
      Re: Automated installation framework

      Nikolai Kirsebom <nikolai.kirseb om.NOJUNK@sieme ns.no> writes:
      [color=blue]
      > Does anyone know of an 'automated installation framework' written in
      > Python / accessible from Python ?[/color]

      Is it this that you have in mind?

      Martin von Löwis, packing Python with Microsoft Installer:
      The official home of the Python Programming Language


      Thomas


      Comment

      • Nikolai Kirsebom

        #4
        Re: Automated installation framework

        On Fri, 30 Apr 2004 13:36:02 +0200, Thomas Heller <theller@python .net>
        wrote:
        [color=blue]
        >
        >Is it this that you have in mind?
        >
        >Martin von Löwis, packing Python with Microsoft Installer:
        >http://www.python.org/pycon/dc2004/papers/44/
        >
        >Thomas
        >[/color]

        Not really. I'm looking for a system which can be used to install an
        application in an environment. As an example:

        Machine #1:
        Ensure Windows 2003 server SP3 installed.
        Install SQL Server 2003
        Add SQL Server Package X
        Install Server part of application A

        Machine #2:
        Ensure Windows 2000 with SP 2a installed
        .....
        Install other part of application A

        Machine #3:
        Ensure Windows 2000 with SP 2a installed
        Install IBM WebSphere
        etc.

        In principle, there is no Python involved except the managing of the
        installation. There should be no requirement that Python must be
        installed on the target machines (if this is possible). I do not
        expect to have a system which will handle all the individual steps,
        but a system which assists in the process would probably be of great
        help.


        Nikolai


        Comment

        • Thomas Heller

          #5
          Re: Automated installation framework

          Nikolai Kirsebom <nikolai.kirseb om.NOJUNK@sieme ns.no> writes:
          [color=blue]
          > On Fri, 30 Apr 2004 13:36:02 +0200, Thomas Heller <theller@python .net>
          > wrote:
          >[color=green]
          >>
          >>Is it this that you have in mind?
          >>
          >>Martin von Löwis, packing Python with Microsoft Installer:
          >>http://www.python.org/pycon/dc2004/papers/44/
          >>[/color]
          > Not really. I'm looking for a system which can be used to install an
          > application in an environment. As an example:[/color]

          Have you read the paper? The title talks about packaging the Python
          distribution, but what Martin does is creating the msi installer using
          Python. In other words, a Python framework to create msi packages,
          which could contain anything...

          Sorry if I misunderstood again.

          Thomas


          Comment

          Working...