Getting ready
We will be using Inno setup to generate the installer, download it at https://jrsoftware.org/isdl.php.
Before we jump to the Inno Setup steps, let's organize the files.
Create a folder named content and move the embedded python folder and the project folder to content/:
content/
python-3.12.8-embed-amd64/
mysite/
launcher.exe
logo.ico
Inno Setup
Create a new script file using the Script Wizard
Next
Avoid using white spaces in the Application name
Next
Choose the launcher.exe and add the content folder
Next
Next
Optionally add these informations
I've tried the second option and it did not work. So try sticking to the first one
Next
Choose the necessary languages. Next
Choose where will the Inno Setup installer be download too.
Optionally add the Custom Setup icon file.
Next
Finish
Final Adjustments
In the end of the [setup] section, optionally add this line:
UninstallDisplayIcon={app}\launcher.exe
This will make the logo appear as well in the Windows Installed apps. Makes it a little more professional.
Finally hit compile. (If for some reason compile doesn't work. Hit play)

This will generate a .exe installer in the output directory you have defined in Inno Setup.
Tested in three differente computers Windows 11, and one with Windows 10. Failed for Windows 7.
Django Windows
10 Jan. 2025
|
Last Updated: 25 Nov. 2025
|
jaimedcsilva Related