Expose uninstallation options as environment variables#1197
Expose uninstallation options as environment variables#1197marcoesters merged 6 commits intoconda:mainfrom
Conversation
lrandersson
left a comment
There was a problem hiding this comment.
Looks good, should we document that these environment variables exist? Perhaps we can do this separately when the MSI work is merged because they will exist but with different names. With that being said, I wonder if we should name these options with a similar pattern as in the MSI scenario:
They should have the same name for simplicity. I personally prefer the |
I agree with that, unfortunately the naming pattern is part of |
Then we have two options: call the variables the same in NSIS as they are in constructor/constructor/briefcase/pre_uninstall.bat Lines 142 to 150 in d2a6fa2 |
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%\.anacondadirectory). 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 ...
newsdirectory (using the template) for the next release's release notes?