I want to generate a unique .exe file to execute the app or a .msi to install the application. How to do that?
.exe
.msi
You can package your program using electron-packager and then build a single setup EXE file using InnoSetup.