Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Electron builder Application name in programs list without version on windows

Im using electron builder and have set name and productName in package.json of my electron app, but when I make the installer using nsis and install the application on windows, In the applications list or programs list in windows settings it shows version in the name of the application which I dont want, so is there configuration of electron-builder or nsis that I can use to make that work ? You can see the issue here

like image 318
Ali Altaf Avatar asked Sep 17 '25 17:09

Ali Altaf


1 Answers

According to the documentation you can use the uninstallDisplayName option to define a different name for the uninstall menu:

"build": {
  "productName": "MyApp",
  "nsis": {
    "artifactName": "MyApp.setup.${version}.${ext}",
    "uninstallDisplayName": "MyApp"
  },
  ...
}
like image 115
Guillaume Avatar answered Sep 19 '25 07:09

Guillaume