0

I have built an application into a single executable file myapp.exe. The application runs perfectly from the executable file, for example if you place it on the Desktop and double click it. How can I create an installer file setup.exe that will install this in Windows?

A little more detail in case it helps: the application is written in Python 3.6 and was built into a single exe file with pyinstaller. I can also build the application into a single folder if there's any advantage to starting from there over a single exe file.

arajshree
  • 626
  • 4
  • 13
Rusty Lemur
  • 1,697
  • 1
  • 21
  • 54
  • you can subclass the `win32serviceutil.ServiceFramework` if you want it to run in the Windows Services layer. More here: https://www.thepythoncorner.com/2018/08/how-to-create-a-windows-service-in-python/ – JacobIRR Jun 29 '19 at 22:10

1 Answers1

2

There are a couple of installers that you can go with. Please check the What is the best installer? topic for details.

Most of the packaging tools have a freeware edition with basic features enabled, except the ones that are already free (Wix). Considering your scenario, there is no need for a commercial license.

InstallShield has the LE edition. Advanced Installer has the freeware one. Here's a step by step tutorial to get your installer in Advanced Installer.

If using VS, then you can package directly your app from the IDE, as multiple packaging tools offer extension for VS:

J.Tribbiani
  • 454
  • 3
  • 9