Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Packaging PyInstaller app using Wix Toolset

I'm trying to figure out what would be the easiest way to create an Installer using Wix Toolset.

I'm building my app in Python and then creating an installer using PyInstaller as a One Folder (not one file) and then want to package it into .msi file. I saw elsewhere that I have to use heat.exe to create a list of all the files, but when I did that I got like 15,000 lines xml file that lists every single file. Not sure if that's the optimal solution or then could be some other way of properly packaging it.

like image 929
Maksim Avatar asked Jun 01 '26 05:06

Maksim


1 Answers

You can start by using auto-py-to-exe to convert your project into an exe file:

pip install auto-py-to-exe

A .py to .exe converter using a simple graphical interface and PyInstaller in Python.

Here is a demo :

After this you can use any tool to generate the *.msi file such as Wix Toolset or Advanced Installer or other.

like image 142
Mohamed Chaawa Avatar answered Jun 02 '26 20:06

Mohamed Chaawa



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!