chocolatey / chocolatey/choco

Track items created with Install Functions

Open
#2,028 1 comment 0 reactions 0 assignees View on GitHub
0 - Triaging Enhancement
Dominant language
C#
Stars
11.5k
Forks
960
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Install-BinFile, Install-ChocolateyShortcut, Install-ChocolateyExplorerMenuItem, Install-ChocolateyPinnedTaskBarItem, Install-ChocolateyEnvironmentVariable, Install-ChocolateyPath, Install-ChocolateyPowershellCommand, Install-ChocolateyFileAssociation, and Install-ChocolateyVsixPackage entry points from a ChocolateyInstall.ps1 script. Done means items created or edited by these functions are tracked and removed automatically during uninstall.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
devops, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.