Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If Gauge exe cannot be deleted, the uninstall command should not be successful #8

Open
sswaroopgupta opened this issue May 18, 2018 · 0 comments
Labels

Comments

@sswaroopgupta
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant