Expected behavior
choco uninstall should be successful only if gauge.exe is deleted successfully.
Actual behavior
Cannot remove item C:\Program Files\gauge\bin\gauge.exe: Access to the path 'gauge.exe' is denied.
Cannot remove item C:\Program Files\gauge\bin: The directory is not empty.
Cannot remove item C:\Program Files\gauge: The directory is not empty.
Only an exit code of non-zero will fail the package by default. Set
`--failonstderr` if you want error messages to also fail a script. See
`choco -h` for details.
Skipping auto uninstaller - No registry snapshot.
gauge has been successfully uninstalled.
Even if gauge.exe is not deleted gauge has been successfully uninstalled message is displayed
Steps to replicate
- Install gauge using
choco install gauge
- Open Visual studio
- Create a new gauge project. Run the tests
- Try uninstalling gauge
choco uninstall gauge without closing Visual studio
The behavior mentioned in actual behavior can be observed.
Version
Gauge version: 0.9.9
Commit Hash: 8db625f
Expected behavior
choco uninstall should be successful only if gauge.exe is deleted successfully.
Actual behavior
Even if gauge.exe is not deleted
gauge has been successfully uninstalledmessage is displayedSteps to replicate
choco install gaugechoco uninstall gaugewithout closing Visual studioVersion