question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

electron-builder is not creating the .msi installer

See original GitHub issue

Hi folks, thank you for this awesome package!

I’ve been using electron-builder for several months to create my .exe installers. Now I’m trying to create .msi installers as well, and it seems like the build.win.noMsi option doesn’t affect the output of electron-builder, because I can’t get a .msi installer even with the option noMsi = false.

I’m using the two package.json configuration as recommended.

My dev package.json includes:

"build" : {
    "win" : {
        "noMsi": "false",
        "iconUrl" : "<my-icon-url>",
        "title" : "MyApp",
        "version" : "0.0.1",
        "publisher": "Me"
    }
  }

My app package.json includes:

{
  "name": "MyApp",
  "version": "0.0.1",
  "description" : "MyApp for Windows.",
  "main": "main.js",
  "author": "Me",
  "homepage" : "https://www.what-about-me.com",
  "license": "MPL-2.0",
}

I toggled the noMsi value but no matter what it says, I only get my .exe, my .nupkg, and two RELEASES and RELEASES-ia32 files.

Am I doing something wrong?

Thanks!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
diegomarcovcommented, Apr 15, 2016

I feel very stupid now, but that worked 😃. Sorry for bothering you guys. Thanks a lot!

0reactions
develarcommented, Apr 15, 2016

Reopened. Current behaviour is not user friendly and must be fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ionic/Electron App not building msi installer - Stack Overflow
I am now trying to build it into an executable installer. This is the electron-builder.config.json file { "appId": "com.yourdoamnin.yourapp", " ...
Read more >
Any Windows Target - electron-builder
Any Windows Target. The top-level win key contains set of options instructing electron-builder on how it should build Windows targets.
Read more >
MSI (Windows Installer) package file for the RingCentral app ...
We have a non-updatable build for Mac, and it is not placed anywhere for public access. We give this build directly to RingCentral...
Read more >
electron-installer-windows - npm package - Snyk
This tool relies on the awesome Squirrel.Windows framework written by @paulcbetts. It takes care of creating the actual package, signing it, dealing with ......
Read more >
Build Instructions (Windows) - Electron
node-gyp is not recognized as an internal or external command​ ... You may get this error if you are using Git Bash for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found