Is it possible to make an executable installer for kivy on Windows?

782 views
Skip to first unread message

xinming

unread,
Jun 10, 2017, 1:10:30 AM6/10/17
to kivy-...@googlegroups.com
On windows, it is easy to double click .exe file to install something, now we have kivy 1.10 version, but why there is no msi type for installation? I found python application can be packaged through https://github.com/takluyver/pynsist, but I am not sure it is OK to build an exe installers for kivy.  I can install all the dependencies and kivy through pip, but it need internet connection.


 

ZenCODE

unread,
Jun 10, 2017, 3:56:32 PM6/10/17
to Kivy users support
The instruction for bundling your kivy app into a stand-alone exe using PyInstaller are here: https://kivy.org/docs/guide/packaging-windows.html

You can then use any Windows Install Builder (NSIS, InnoSetup, etc) to create an installer. Never tried Pysist but heard of it. Maybe it works for Kivy apps, but have no experience with it personally...

Cheers

Bill Janssen

unread,
Jun 12, 2017, 2:13:03 AM6/12/17
to Kivy users support
I've written an MSI installer for our apps (which include Kivy and numpy etc.) using the "msilib" module in the Python standard library, so that's possible, but I haven't tried building an executable installer.  There aren't many examples of Python installers using MSI, aside from the standard Python distribution itself, However, an earlier version I did for UpLib is at https://github.com/project-renard-survey/xerox-parc-uplib-mirror/blob/master/win32/build-msi-installer.py.  This is the code which builds the MSI installer, and much of it is based on the MSI packaging code for Python itself.

Bill
Reply all
Reply to author
Forward
0 new messages