By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,818 Members | 1,262 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,818 IT Pros & Developers. It's quick & easy.

Automated installation framework

P: n/a
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

Jul 18 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Nikolai Kirsebom wrote:
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

It sounds like you are looking for the distutils included in Python.
Though they could use some enhancement :-)

David
Jul 18 '05 #2

P: n/a
Nikolai Kirsebom <ni*********************@siemens.no> writes:
Does anyone know of an 'automated installation framework' written in
Python / accessible from Python ?


Is it this that you have in mind?

Martin von Lwis, packing Python with Microsoft Installer:
http://www.python.org/pycon/dc2004/papers/44/

Thomas
Jul 18 '05 #3

P: n/a
On Fri, 30 Apr 2004 13:36:02 +0200, Thomas Heller <th*****@python.net>
wrote:

Is it this that you have in mind?

Martin von Lwis, packing Python with Microsoft Installer:
http://www.python.org/pycon/dc2004/papers/44/

Thomas


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
Jul 18 '05 #4

P: n/a
Nikolai Kirsebom <ni*********************@siemens.no> writes:
On Fri, 30 Apr 2004 13:36:02 +0200, Thomas Heller <th*****@python.net>
wrote:

Is it this that you have in mind?

Martin von Lwis, packing Python with Microsoft Installer:
http://www.python.org/pycon/dc2004/papers/44/

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


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
Jul 18 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.