Skip to content

[nsis] Custom icon option is ignored if app is not signed #9030

Open
@dmm9

Description

@dmm9

I recently upgraded electron-builder from 24.13.3 to 26.0.12. Using to build windows/nsis target. After building and installing the app, I find some unexpected differences:

  • The application icon is not anymore the configured icon, but the default electron icon.

  • The application exe's properties shows Company: GitHub, Inc. and Copyright: Copyrigth (C) 2015, Inc. All rights reserved and original filename: electron.exe, instead of the configured values.

However, the installer and uninstaller still show the configured values and icon.

Here is my config

productName: MyApp
copyright: Copyright © 2025 MyInc
win:
  icon: resources/icons/my_icon.ico
  target:
    - nsis
  [...]

What has changed between both versions? Is my config not valid anymore or is it an issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions