[wxpython-users] sparkle for wxpython
Phil Mayes
pmayes at olivebr.com
Fri May 2 14:17:38 PDT 2008
At 09:49 AM 5/2/2008, you wrote:
>Anyone had any luck integrating Sparkle or something like it
>( component for autoupdates ) in a wxpython app?
>
>thanks,
>Cliff
I had never heard of Sparkle, but I have been working on auto-updating
recently, and it was quite a saga. Short story:
* I'm only developing and shipping on Windows at present.
* I package with PyInstaller followed by INNOsetup.
* I have a way of asking the server if a newer version is available. The
details of the mechanism are unimportant.
* I used to send users to the download page, but decided that naive users
were maybe not running the installer once they downloaded it.
* I downloaded the installer myself, using http and showing a progress
dialog, then executed the installer with spawnl.
* The installer would not execute successfully because it held a handle to
the (now-closed) calling process, so it failed, claiming it could not
delete myprogram.exe
* I reduced the problem to a 3-line program and removed INNOsetup from the
equation; I asked on the PyInstaller group, but the solution only deferred
the problem:
http://groups.google.com/group/PyInstaller/browse_thread/thread/73bda547677fb5ff
* I hacked my way round it by creating a batch file, pointing Windows
Explorer to it, and asking the user to execute it.
This story may or may not be of some use to you. Good luck!
Phil
More information about the wxpython-users
mailing list