title: Electron create MSI installer using electron-builder
body: <p>I managed to create an .exe installer for windows using electron builder, I create 2 package.json as pointed out in the docs : </p>
  
  <p><a href="https://github.com/electron-userland/electron-builder" rel="noreferrer">https://github.com/electron-userland/electron-builder</a>.</p>
  
  <p>I ended up having a folder with a working .exe
  <a href="https://i.stack.imgur.com/8PVfn.png" rel="noreferrer"><img src="https://i.stack.imgur.com/8PVfn.png" alt="enter image description here"></a></p>
  
  <pre><code>"dist:win64": "./node_modules/.bin/build --platform win32 --arch x64"
  </code></pre>
  
  <p>The build section of my main package.json is </p>
  
  <pre><code>"build": {
      "app-bundle-id": "org.test.mytest",
      "app-category-type": "public.app-category.graphics-design",
      "osx": {
        "contents": [
          {
            "x": 410,
            "y": 150,
            "type": "link",
            "path": "/Applications"
          },
          {
            "x": 130,
            "y": 150,
            "type": "file"
          }
        ]
      },
      "win": {
        "title": "My awesome app",
        "version": "2.28.999.1",
        "noMsi": false,
        "authors": "Author"
      }
    }
  </code></pre>
  
  <p>Everything works fine, I have and .exe installer but no way to have an .msi installer that put the content in program files directory. </p>
  
  <p><a href="https://i.stack.imgur.com/CbIMe.png" rel="noreferrer"><img src="https://i.stack.imgur.com/CbIMe.png" alt="enter image description here"></a></p>
  
  <p>Instead I ended up with an installation in the C:\Users\UserHome\AppData\Local\electron folder with and installer like below.</p>
  
  <p><a href="https://i.stack.imgur.com/qUzfR.png" rel="noreferrer"><img src="https://i.stack.imgur.com/qUzfR.png" alt="enter image description here"></a></p>
  
  <p>Is there a way to have a real .msi installer using electron builder that put the content in the Program file folder. The only one project that worked is this one <a href="https://github.com/theodo/electron-boilerplate" rel="noreferrer">https://github.com/theodo/electron-boilerplate</a> but it uses a former version of electron-builder.</p>
  
  <p>In the electron doc setting the <code>noMsi</code> to false, should do the trick ... </p>
  
  <pre><code>Should Squirrel.Windows create an MSI installer?
  </code></pre>