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.

Installer not creating application menu entry

See original GitHub issue
  • electron-builder 19.5.1
  • electron-updater 1.16.0
  • build target: **windows multiarch (–win --ia32 --x64) **. Building on windows 10 64bit

The issue started when upgrading electron-builder from version 17.8.0 to 19.5.1 running npm install throws two errors:

  • UNMET PEER DEPENDENCY ajv@5.2.0 (which i fixed by wrriting “ajv”: “5.2.0” to my devDependecies)
  • ⚠️ Please use as subcommand: electron-builder install-app-deps

then building my installer with build --win --ia32 --x64 --publish never runs as expected. When executing the installer it runs without errors or warnings but still no application menu entry is created. if the program was already installed the entry gets deleted. Therefore auto updating does also not work.

package.json

...

 "devDependencies": {
    "electron": "1.6.9",
    "electron-builder": "19.5.1"
  },
  "dependencies": {
    "jquery": "3.2.1",
    "electron-debug": "1.1.0",
    "electron-updater": "1.16.0",
    "electron-publisher-s3": "18.3.0",
    "color": "1.0.3"
  },
  "scripts": {
    "postinstall": "install-app-deps",
    "start": "electron . --dev",
    "start-prod": "electron .",
    "build": "build --win --x64 --publish always",
    "build-multiarch": "build --win --ia32 --x64 --publish always",
    "build-multiarch-no-upload": "build --win --ia32 --x64 --publish never"
  },
  "build": {
    "forceCodeSigning": false,
    "nsis": {
      "allowToChangeInstallationDirectory": false
    },
    "directories": {
      "output": "dist"
    },
    "publish": {
      "provider": "s3",
      "bucket": "desktop.app",
      "path": "desktop-app"
    }
  }
}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
develarcommented, Jun 20, 2017

fixed in 19.6.1 @balugege Thanks a lot for reporting this.

1reaction
jonas-zipprickcommented, Jun 19, 2017

Yeah, and thats a problem if you want users to auto-update 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Windows Installer" is not adding the program into start menu
Click Application Folder. Then on the left tab the "Primary output from MyApp (Active)" appears. Right click it and select "Create shortcut ...
Read more >
ClickOnce not creating Start Menu entry... - MSDN - Microsoft
ClickOnce not creating Start Menu entry. ... The problem is no matter how many times I install the application, uninstall the application, ...
Read more >
Flatpak doesn't automatically create application menu entry ...
When I used flatpak before to install an application, it automatically created an entry for the app in the application menu.
Read more >
Visual Studio Installer wasn't in my start menu.
VS was installed via some premade Azure image. The shortcut is not at the location. Running that additional command added the link.
Read more >
Eclipse Installer does not create .desktop file for the menu - Bugs
However, the Installer does not create a .desktop file, ... [Desktop Entry] Type=Application Name=Eclipse IDE for Eclipse Committers - Neon ...
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