choco
choco copied to clipboard
'Zip' helper functions should remove the installation folder, upon uninstallation
Should handle automatically creating and deleting folders where the installer is unzipped in and installed from.
also you might want to pass a regex to the function if the installer is called something like packageinstaller0.78.exe
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.