Skip to content

NSIS installer always show "XYZ cannot be closed. Please close it ..." when there is other process name contains "XYZ" #6865

Open
@athenakia

Description

@athenakia
  • Electron-Builder Version: 23.0.3
  • Node Version: 16.3.1
  • Electron Version: 16.2.5
  • Electron Type (current, beta, nightly):current
  • Target: Windows 11

In my case, productName of my project is XYZ, it allows user to install a service named XYZ Helper on Windows, which runs when the operating system starts up. When I use electron-builder(23.0.3) to package(target: NSIS), the installer always show XYZ cannot be closed. Please close it manually and click retry to continue. even after I'm sure to quit XYZ completely. Only after I also stop the service named XYZ Helper, this step can be processed. But XYZ Helper is not part of XYZ, which is a separated process and should not be stopped. electron-builder(22.14.13) doesn't have this problem.

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