I managed to create an .exe installer for windows using electron builder, I create 2 package.json as pointed out in the docs :
https://github.com/electron-userland/elec
I figured it out by looking at the target. do this
"win": { "target": [ "msi" ] //your code here },