[python-win32] Quiet Install Available?
Lewis, Jeffrey G
jeffrey.g.lewis at lmco.com
Mon Jan 19 21:23:22 CET 2009
Mark,
Thanks for the quick reply to my original post.
I ran into some gotchas trying your suggested approach,
but at this point we've found a completely different way
to install the python-windows extensions without user
interaction (using a program available from Microsoft called
scriptit).
I thought I would just pass on the problems I ran into in case anybody
else heads down this path.
I was able to work around WinZip not accepting the .exe file
as a zip file (I renamed the .exe to .zip) - I wrote a little bit of
python script to unzip it. But there was no Removepywin32.exe
after unzipping, and when I tried to run the pywin32_postinstall.py
I got an error pop-up saying:
The application or DLL
C:\h\PYTHON\Lib\site-packages\pywin32_system32\pywintypes25.dll
is not a valid Windows image. Please check this against your
installation diskette.
Thanks again for your quick response, and thank you very
much for the extensions!
Jeff
> -----Original Message-----
> From: Mark Hammond [mailto:skippy.hammond at gmail.com]
> Sent: Saturday, January 10, 2009 5:30 PM
> To: Lewis, Jeffrey G
> Cc: python-win32 at python.org
> Subject: Re: [python-win32] Quiet Install Available?
>
> On 10/01/2009 9:56 AM, Lewis, Jeffrey G wrote:
> > I am working with Python 2.5.2 and pywin32-212.win32-py2.5.exe.
> >
> > I figured out how to install Python 2.5.2 so that no user
interaction
> is
> > required.
> >
> > Are there command line options available for pywin32-212.win32-
> py2.5.exe
> > so that it will just go ahead and do the install using all the
> defaults
> > without any user interaction required?
>
> The installer is based on the distutils 'bdist_wininst' command which
> doesn't support such options. However, what should work is to simply
> unzip the pywin32 directory structure (the .exe should even be
readable
> as a .zip file!) then run "pywin32_postinstall.py -install" to
> configure
> everything.
>
> Cheers,
>
> Mark
More information about the python-win32
mailing list