Skip to content

MSI build generated from electron-forge does not sign the app executable files #3755

Open
@neel-dedhia

Description

@neel-dedhia

Pre-flight checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project uses.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version

6.0.4

Electron version

27.0.0

Operating system

Windows 11 Pro

Last known working Electron Forge version

none

Expected behavior

The application when installed from MSI installer, should have all executables signed.

Actual behavior

MSI installed is signed but post installation of the application the executables inside the app are not signed.

Steps to reproduce

Create an electron project, pass the signWithParams config in electron forge for maker wix:
{ makers: [ { name: '@electron-forge/maker-wix', config: { language: 1033, manufacturer: 'Hello App Inc.', version, rebootMode: 'Suppress', name: 'Hello App', appIconPath: '/path/to/icon', appUserModelId: 'Hello App', upgradeCode: 'UUID', programFilesFolderName: '/path/to/install/directory', features: { autoUpdate: true, autoLaunch: true, }, beforeCreate: (config) => { /** * We are adding this step to create uninstall.exe file in the application installation directory */ config.wixTemplate = createUninstallShortcut(config.wixTemplate); }, installLevel: 3, ui: false, signWithParams: '/tr http://timestamp.digicert.com /td sha256 /fd sha256 /a /d "hello-app.msi"' }, } ] }

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked/needs-reproIssues unable to be reproduced by maintainersbug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions