Working on the MSI for the OpenWin project I ran in to an issue, how to silently install PyWin32. It took some digging, and I ended up having to open a feature request to get the answer (Mark Hammond replied very quickly), but here it is…
(Instructions specific to Python 2.6.x but should be easy to adapt)
Extract the .exe installer (I use UniExtract http://legroom.net/software/uniextract)
It will create 2 directories PLATLIB and SCRIPTS copy the contents of both directores in to c:python26libsite-packages
Then cd to c:python26libsite-packages and run “python pywin32_postinstall.py -install”
Remove pywin32_postinstall.py
That will install PyWin32 silently.
You may not have to copy the pywin32_postinstall.py script to site-packages or cd to that dir, but that is how I did it the first time and it worked, and I just haven’t tested it any other way.
Recent Comments