Skip to content

electron-builder Win NSIS is not deleting the {app-name}-updater/installer.exe artifact during uninstallation process #9505

@ottomen

Description

@ottomen

Description

During the NSIS Windows installation Electron builder uses app-builder-lib to copy the installer.exe in the app-builder-lib/templates/nsis/include/installer.nsh:

!insertmacro copyFile "$EXEPATH" "$LOCALAPPDATA\${APP_INSTALLER_STORE_FILE}"

But I don't see any deletion of this file during uninstall process. The user/AppData/Local/app-name-updater/installer.exe is staying after complete app uninstall.

Is it intentional? Maybe I'm missing something?

Environment

Package Versions:

  • app-builder-lib: 26.0.12
  • electron: 37.4.0

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