I have an Electron app which contains an Ionic 2 app. Electron is really a container for the Ionic 2 app, nothing more. Now I want to create an installer, that is, a .EXE file for the app so that I can just hand over the EXE to anybody and all they have to do is run it to get the app installed on their PC/Mac/Linux machine.
These other people will not have Electron or Ionic installed on their machines.
I am guessing this EXE will install the app on a user’s machine and can create kind of a desktop shortcut. The user can use this shortcut to open/launch my app.
My questions are:
- How do I create this installer?
- Do I have to include Electron and Ionic 2 while creating the installer so that those get installed as well?
2a. If the answer for above question #2 is yes the how do I do that?
- Or, there is no need of #2 and #2a above because my package.json has dependency/dev-dependency for Electron and Ionic 2 so those two will be automatically installed?
Any help will be greatly appreciated.