Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installer and Updater for a python desktop application

People also ask

How do I update my Python application?

Increase the version in myapp.py and recompile it with pyinstaller --onefile myapp.py , and move the myapp.exe into the root folder of the server. Try running updater.exe again... it redownloaded our app, and it's the latest version!

Can I build a desktop app with Python?

Can you create a desktop application using Python? Yes, you can. In this article, we will learn how to make a desktop application using the Tkinter library of Python. There are several libraries in Python, but Tkinter is one of the easiest ones among them.


There is a suite of tools from the cloudmatrix guys that addresses that problem.

esky is an auto-update framework for frozen apps that is compatible with the common python "packaging" frameworks. signedimp tries to ensure that apps are not modified after they are signed, and to minimize invasive Windows UAC dialogs. myppy aims to insulate you from base library incompatibility issues on Linux eg installing on distributions with different gcc and libc versions. The whole set can be seen on github here.

The video and slides from this year's PyCon are here: http://lanyrd.com/2012/pycon/spckh/


WiX (Windows Installer XML toolset) is an open source project for an MSI authoring tool.
Part of the project is ClickThrough, a set of add-on tools, including a tool to automatically detect available updates (via an RSS feed), notify users and install the update.
As you can read here:

The Windows Installer Xml (WiX) toolset is composed of a compiler, a linker, a lib tool and a decompiler. It generates MSI and MSM files from XML input. It doesn't include a GUI frontend to create the project files, but there are a couple of projects that plan to fill this gap. Votive, which is part of the WiX project, is a Visual Studio extension. It allows you to create "WiX projects" that act like any other project in a VS solution. WiX was created by Rob Mensching, a Microsoft employee and former member of the MSI team, in his free time and released as open source. It is used by several teams inside Microsoft to create their setups.

See also How to create a simple MSI installer using WIX


I'm working on a project that you may find useful.

PyUpdater