derekmurawsky / ChocolateySaltMinion

A chocolatey package to install a salt minion.
Other
3 stars 7 forks source link

Cancelling Choco Uninstall via GUI causes invalid Chocolatey state for package. #1

Open derekmurawsky opened 9 years ago

derekmurawsky commented 9 years ago

Per discussion here

arthurlogilab • 5 hours ago It seems that when doing choco uninstall saltminion and answering "Cancel" in the pop box puts choco in an invalid state (thinks it has been uninstalled but salt-minion is still there). Any way of fixing this in choco ?

derekmurawsky commented 9 years ago

There was no true silent uninstaller to prevent this. I might be able to do the uninstall in a try-catch block for better error handling, but I'm not sure how that would play with chocolatey as I haven't explored this side of it yet. I'll see about digging into it. Can't confirm a time to fix yet, though. Busy week.

derekmurawsky commented 9 years ago

Tried wrapping in a try/catch block. No luck. Will hop on the newsgroup and see if there's another way to handle this elegantly.

derekmurawsky commented 9 years ago

Problem is with the (un)installer itself.

dragon788 commented 9 years ago

Passing /S to the uninstall.exe doesn't properly silence it?

espoelstra commented 7 years ago

This issue was moved to espoelstra/barkingfooddog-ChocolateySaltMinion#1

espoelstra commented 7 years ago

I think this one was related to a regression with the early 2014.7.x series and newer versions shouldn't be affected. Can probably be closed.