-
Notifications
You must be signed in to change notification settings - Fork 384
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
[Firefox] The 64bits detection is overridden in all cases #364
Conversation
The variable `$uninstallPaths` gets overridden whatever the 64bits detection could be. Prevent that.
LGTM |
@ferventcoder Obviously, it depends what the maintainer wanted to do here with the first match: either take the first match from the standard location (x86 location on a 32 bits system, 64 bits location on a 64bits system) or take the match from the 32 bits location on a 64 bits system (the SysWoW64 location). Otherwise we could have just let the line 15 as it and only replace the
I realized if we install firefox on a 64 bits system using Chocolatey, the 64 bits version is installed, and if we install manually the 32 bits version afterwards, Chocolatey using the Auto Uninstaller feature is removing the 64 bits version correctly. However for some packages I'm currently updating, how can I force my uninstall script to be run when the user left the Auto Uninstaller feature enabled? This feature is rather annoying since the customizations I've made in my install scripts are NOT reverted when the Auto Uninstaller feature is run :-/ Any idea? |
AFAIK, |
@majkinetor From the tests I performed on my side, it looks like this is not what is happening. Actually I'm still testing locally using |
Is there any such package in this repo ? If not, I suggest you to PR one so we can take a look.
You should take a look at AU's |
@majkinetor Actually this is the package OpenVPN I'm talking about. A dev version of the new version I want to publish is available on my GitHub repo |
@wget @ferventcoder @majkinetor so, what was the consensus on this? Happy to merge? |
@wget I think we determined that chocolateyUninstall.ps1 always runs before autoUninstaller in our conversation. We also found there may be a small bug in autoUninstaller as well. chocolatey/choco#1035 @gep13 This PR LGTM! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as well 😄
Damn. I had to RTFM to understand what LGTM means :D |
Ha ha! 😄 |
The variable
$uninstallPaths
gets overridden whatever the 64bits detection could be. Prevent that.