tagsnowy
Posts: 1
Joined: Mon Nov 16, 2026 9:23 am

Python with directory to executable

I'm looking for a technique to transform a Python file into an executable. I want to convert the Python file, containing a few files, to an MSI.

I've previously tried Advanced Installers and the Pythoninstaller module, but neither worked. The files were too large for Advanced Installers, and Pythoninstaller returned this error:

Code: Select all

serialized_entry = struct.pack()
What tools can I use to convert my code?
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Python with directory to executable

Hello and welcome to our forums,

We have this article which covers exactly your question - how to create an installation package out of a Python app:

How to Create an MSI installer for a Python Application
The files were too large for Advanced Installers
Could you please elaborate a bit on this? I am not quite sure I understand what you mean by the files were too large for Advanced Installer.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”