chocolatey/chocolatey — pull request #96 by rismoney (2012-05-31 02:57:51+00:00)
Title: Feature uninstall

This will provide preliminary uninstall functionality. It does require pull 92 and 94 to return versions properly.

This is not a feature rich implementation yet. A refactoring needs to happen and code reuse, since install and uninstall should leverage the same code base with just some easy param logic.

A file called chocolateyuninstall.ps1 will need to exist in the tools folder for packages for this to work.

The contents should look like this
Uninstall-ChocolateyPackage 'windirstat1.1.2.1' 'exe' '/S' 'C:\Program Files (x86)\WinDirStat\Uninstall.exe'