How to use python to automate installation of non-python programs?
Cameron Laird
claird at starbase.neosoft.com
Wed Aug 1 19:42:27 EDT 2001
In article <6b954971.0108011515.355c33a2 at posting.google.com>,
Bela Evans <bevans at wested.org> wrote:
>Let's say you have to install some program on a number of machines
>(pcs and macs) - msoffice, adobe acrobat reader, norton antivirus,
>etc. It's easy enough to have a python script start an install
>program, but does python have any interface to allow you to
>automatically run through an install program?
>
>What I'm thinking would be needed is a kind of keyboard and mouse
>entry macro recorder. For example, on 1st screen of install program,
>press enter, 2nd screen, click on customize button, etc. The python
>script would need to focus attention on the install program window and
>send keystrokes and mouse clicks to it. Anyone have experience with
>this? Any pointers to which modules I should look at? Or is there a
>better way to run through install programs?
>
>Thanks for any suggestions or ideas on what I should be looking at...
Excellent question!
But the only answer I know is a depressing one. Install
programs seem to be particularly backward in their script-
ability (although uninstalls might be worse). Perhaps
things have improved in the last few years; all it should
take is minimal COM exposure. I would think the install
vendors would want such for their *own* testing. I've
rarely penetrated their armor, though.
--
Cameron Laird <claird at NeoSoft.com>
Business: http://www.Phaseit.net
Personal: http://starbase.neosoft.com/~claird/home.html
More information about the Python-list
mailing list