In this short post, we will learn how to create a Windows installation EXE for an Electron app using Electron packager and Innoscript. Electron packager generates a zip archive file for your Electron application with an EXE, which can be used to run the application. It isn’t the best user experience to download and unzip the archive file before using the app. The official Electron packager document suggests using a third-party tool to generate the EXE installation. I tried a few different tools and ran into issues with most of them. Finally, I used Innoscript to generate an installation EXE. Running the end-to-end flow using only a virtual machine isn’t easy without a Windows machine. So, I ended up automaticating the whole flow using Github actions.
Let us get started and go over the steps