473,412 Members | 4,127 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

Want to perform unattended installation of SW using python

Hi,

I'm trying to automate an installation of some SW that is installed on
Windows (you know - 'Start' ==> 'Next' ==> 'Next' ==> 'Finish' kind of
installation). Is ther any way to perform that using python?

Thank you.

tommy

Nov 22 '05 #1
4 1763
aum
On Sun, 13 Nov 2005 02:57:04 -0800, 28tommy wrote:
Hi,

I'm trying to automate an installation of some SW that is installed on
Windows (you know - 'Start' ==> 'Next' ==> 'Next' ==> 'Finish' kind of
installation). Is ther any way to perform that using python?


Quick answer is yes, very much so. What /can't/ you do in python? :)

I presume that by 'start -> next -> next' you're referring to
'installation wizards'. You can write those in python, using any of the
available GUI programming libraries, such as Tkinter, wxPython, PyFLTK,
FoxPY, PyQt or whatever appeals. PyFLTK and wxPython have Wizard widgets
built in, and quite likely PyQt does as well.

--
Cheers
aum
Nov 22 '05 #2
Hi,

first of all- thanks for the quick answer.
You presumed correctly, but unfortunately, I Don't have control of the
preparation process of the package, so I get it as is. I just need to
answer it's questions on each screen of the wizard...

10x again
tommy

Nov 22 '05 #3
28tommy wrote:
I'm trying to automate an installation of some SW that is installed on
Windows (you know - 'Start' ==> 'Next' ==> 'Next' ==> 'Finish' kind of
installation). Is ther any way to perform that using python?


While that is possible in Python, it is very tedious to do: you
essentially have to generate mouse clicks for the application, using
the Win32 API.

Most packaging tools provide some support for unattended installation,
so I would rather research what options to pass to the installer to
make it non-interactive.

Regards,
Martin
Nov 22 '05 #4
Use AutoIt3 for it and be happy:
http://www.autoitscript.com/autoit3/.
And if you need Python to be involved in this process, just write out the
AutoIt script from Python and then run the AutoIt script from Python, what
makes you twice that happy.
If you want, you can reinvent the wheel using Python ctypes and the
Win32 API, but what for, if AutoIt is already there and has done it
all in an excellent way?

Claudio

"28tommy" <28*****@gmail.com> schrieb im Newsbeitrag
news:11**********************@o13g2000cwo.googlegr oups.com...
Hi,

first of all- thanks for the quick answer.
You presumed correctly, but unfortunately, I Don't have control of the
preparation process of the package, so I get it as is. I just need to
answer it's questions on each screen of the wizard...

10x again
tommy

Nov 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: The_Incubator | last post by:
As the subject suggests, I am interested in using Python as a scripting language for a game that is primarily implemented in C++, and I am also interested in using generators in those scripts... ...
5
by: lyuan | last post by:
Hi, How can I write a bitmap using python? I have some integer data and want to generate a bitmap graph for visualization. Any suggestion will be appreciated. Sorry if this is an FAQ, BTW, where...
5
by: Varun Hiremath | last post by:
Hi, I was wondering if there is any way to make KDE PanelApplets using Python. I have made a small window using Qt, kdeui nad kdecore libs. Now I want to add it to the KDE kicker. Can I get any help...
0
by: ric_deez | last post by:
Hi there, I have just started looking into using Python to perform some XML processing and I need to ensure that it is capable of validating against a schema file (XSD not DTD!). The research...
29
by: 63q2o4i02 | last post by:
Hi, I'm interested in using python to start writing a CAD program for electrical design. I just got done reading Steven Rubin's book, I've used "real" EDA tools, and I have an MSEE, so I know what...
1
by: beliavsky | last post by:
Intel has introduced something called CESR, written in Python, to aid C, C++, and Fortran programmers in reducing the sizes of programs included in bug reports. Here is a brief description from...
3
Chittaranjan
by: Chittaranjan | last post by:
Hi All, I just entered in the world of Python. I would like all your co-operation in my future coding career in Python. For the time being I want to create a web page using Python, I mean a simple...
0
by: jyoti sheth | last post by:
Hi, I got task to perform API testing using python & I don't have any knowledge of API testing it would be a gre8 help if anyone can give pointers for learning API testing using python (any...
2
by: Holger | last post by:
Hi I'm using python Serial from: http://switch.dl.sourceforge.net/sourceforge/pyserial/pyserial-2.4.tar.gz to implement ymodem and other protocols on the PC com port And it works like a...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.