choco icon indicating copy to clipboard operation
choco copied to clipboard

Track items created with Install Functions

Open some1one opened this issue 5 years ago • 1 comments

Chocolatey v0.10.15

What You Are Seeing?

Items created/edited by the "Install-" functions that do not end in "Package" from a ChocolateyInstall.ps1 script are not tracked and are not removed automatically during an uninstall.

What is Expected?

Items created/edited should be tracked when installed using the "Install-" functions (the ones that end in "Package" already do) and removed automatically during an uninstall. This would prevent the need for many custom ChocolateyUninstall scripts.

Related Functions Include: Install-BinFile Install-ChocolateyShortcut Install-ChocolateyExplorerMenuItem Install-ChocolateyPinnedTaskBarItem Install-ChocolateyEnvironmentVariable Install-ChocolateyPath Install-ChocolateyPowershellCommand Install-ChocolateyFileAssociation Install-ChocolateyVsixPackage

some1one avatar Apr 06 '20 16:04 some1one

Thanks for writing this up - some of these may have related tickets in here, but this would be a good issue to work from to see all of the ones that need completed.

ferventcoder avatar Apr 15 '20 18:04 ferventcoder