Skip to content

After upgrading to 24.13.2, Windows NSIS installer Failed to uninstall old application files when there is an app running #8131

Open
@zaichaopan-alianza

Description

@zaichaopan-alianza
  • Electron-Builder Version: 24.13.2
  • Node Version: 18.14.0
  • Electron Version: 29.1.1
  • Electron Type (current, beta, nightly): current
  • Target: Windows

After upgrading to 24.13.2, when installing nsis installer when app is running, it shows below error "xxxx cannot be closed. Please close it manually and click Retry to continue"

electron-quick-start-is-running

Click Retry will keep showing the dialog again. When click Cancel, it shows "old application files cannot be uninstalled"
electron-quick-start-is-cannot-uninstall-old-app

Versions before 24.13.2 do not have this issue

When try previous version 24.13.1, It shows dialog xxx is running, click OK to close. After click OK, running app will close and install will continue.

electron-quick-start-13 1

Step to reproduce

  • upgrade electron-builder to 24.13.2 and create a NSIS installer
  • install the installer and have the app running
  • click the installer again to install or make another new installer to install

Seems like the fix in #8059 introduce this issue. Have anyone run into the same issue?

Thx a million !

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