chocolatey / choco

Chocolatey - the package manager for Windows
https://chocolatey.org
Other
10.33k stars 903 forks source link

'Zip' helper functions should remove the installation folder, upon uninstallation #294

Open aronovgj opened 9 years ago

aronovgj commented 9 years ago

Should handle automatically creating and deleting folders where the installer is unzipped in and installed from.

aronovgj commented 9 years ago

also you might want to pass a regex to the function if the installer is called something like packageinstaller0.78.exe

pauby commented 9 months ago

If software creates some files in the installation folder, then a traditional installer will tend no to remove them or the folder they are in. This allows for reinstallation of the software and the old configuration can continue to be used.

I don't feel that the helper functions should take the decision to remove the installation folder unless the folder is empty.