Skip to content

Conversation

@freakboy3742
Copy link
Member

@freakboy3742 freakboy3742 commented Nov 26, 2025

Adds the ability to define uninstall options.

Uninstall options are exposed as UNINSTALL_FOO variables in the post-install script; otherwise, they behave the same as installer options.

The uninstall option dialog is only visible if you manually re-run the MSI when the software is already installed. The default behaviour of the Windows "Remove software" tool is to run "quiet" - no matter how the uninstall registry key is defined. If "Remove software" is used the option is still processed and passed to the uninstaller, with the default values being used.

This PR also reverts the "installer" options to checkboxes. This is because the GUI for options is overly complicated, and the text of key UI elements isn't customizable for uninstallation.

Refs beeware/briefcase#2582

briefcase-repo: https://github.com/freakboy3742/briefcase.git
briefcase-ref: msi-uninstall-options

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@freakboy3742 freakboy3742 merged commit 963d0d6 into main Dec 2, 2025
18 checks passed
@freakboy3742 freakboy3742 deleted the uninstall-options branch December 2, 2025 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants