Skip to content

Expose uninstallation options as environment variables#1197

Draft
marcoesters wants to merge 4 commits intoconda:mainfrom
marcoesters:expose-uninstallation-variables
Draft

Expose uninstallation options as environment variables#1197
marcoesters wants to merge 4 commits intoconda:mainfrom
marcoesters:expose-uninstallation-variables

Conversation

@marcoesters
Copy link
Copy Markdown
Contributor

Description

Expose uninstallation options as environment variables for EXE installers. This is useful for when packages write into locations outside of the installation directory and outside directories associated with conda (e.g., the %USERPROFILE%\.anaconda directory). Exposing these environment variables allows for pre-uninstall scripts to clean up these directories.

Currently only implemented for EXE installers since they are the only installers that allow pre-uninstall scripts.

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@github-project-automation github-project-automation bot moved this to 🆕 New in 🔎 Review Apr 3, 2026
@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed [bot] added once the contributor has signed the CLA

Projects

Status: 🆕 New

Development

Successfully merging this pull request may close these issues.

2 participants