Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record environment changes in pkg info #564

Open
ferventcoder opened this issue Jan 21, 2016 · 2 comments
Open

Record environment changes in pkg info #564

ferventcoder opened this issue Jan 21, 2016 · 2 comments

Comments

@ferventcoder
Copy link
Member

Related to #563 - record a package's environment changes so on uninstall they are reversed (like PATH additions).

@ferventcoder ferventcoder added this to the 0.9.10.x milestone Jan 21, 2016
@TheCakeIsNaOH
Copy link
Member

@vexx32
Copy link
Member

vexx32 commented May 14, 2024

Potential concerns for this:

  • We don't want to be overzealous; other applications may modify environment variables during a choco install/upgrade. Recording too much of the changes and then reversing them is liable to cause Issues:tm:.
  • We should probably separately record things from Install-ChocolateyPath and ensure they're removed if packages don't remove it on their own.
  • Is there possibly a way we can monitor processes spawned from choco itself or child processes and filter registry changes based on those processes and what registry access they do? This feels cursed but would be the most complete solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants