Skip to content

NSIS: customUnInstall before files are deleted #6882

Description

@tortis

I've got a powershell script that does some uninstall cleanup, but if I try to execute it during customUnInstall the script as already been removed.

I found found in the templates that the uninstall macro is called after most of the install files have been deleted.

!ifmacrodef customUnInstall
!insertmacro customUnInstall
!endif

Would it make sense to add separate uninstall macro that runs before the bulk of the uninstall work? Or am I misguided, and I should just copy my powershell script somewhere that won't get removed automatically?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions