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:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
fixed in 19.6.1 @balugege Thanks a lot for reporting this.
Yeah, and thats a problem if you want users to auto-update 😃