X
Tap here to go to the mobile version of the site.

Support Forum

Uninstall all versions of firefox silently

Posted

I am unable to find a way to silently uninstall multiple different versions of firefox in an enterprise environment. We currently have 14 different versions spread out across multiple systems and windows OS's and need a command line that will remove them from workstations.

The <Firefox Full Installer.exe> /S option doesn't work very well, as it only uninstalls the .exe's version, and if that version isn't found, installs it instead!

Any help would be appreciated. I'm following this doc and its not helping at all: https://wiki.mozilla.org/Installer:Command_Line_Arguments

I am unable to find a way to silently uninstall multiple different versions of firefox in an enterprise environment. We currently have 14 different versions spread out across multiple systems and windows OS's and need a command line that will remove them from workstations. The <Firefox Full Installer.exe> /S option doesn't work very well, as it only uninstalls the .exe's version, and if that version isn't found, installs it instead! Any help would be appreciated. I'm following this doc and its not helping at all: https://wiki.mozilla.org/Installer:Command_Line_Arguments

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

More Information

Tyler Downer
  • Top 25 Contributor
  • Moderator
1530 solutions 10669 answers

I've moved your post to the Firefox for Enterprise forum, where you should be able to get some more targeted help.

I assume you're removing these old versions so you can get all users up to date on Firefox ESR 60?

I've moved your post to the Firefox for Enterprise forum, where you should be able to get some more targeted help. I assume you're removing these old versions so you can get all users up to date on Firefox ESR 60?

Question owner

That is correct. The systems that have it, we are asking if its really required, and if so, to get those under a standard version that I can manage.

Thank you for moving the question to the appropriate section. I was sorta successful in doing an forced uninstall using this powershell code:

Start-Process 'C:\Program Files\Mozilla Firefox\uninstall\helper.exe' -ArgumentList "/s" -Wait -ErrorAction SilentlyContinue Start-Process "C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe" -ArgumentList "/s" -Wait -ErrorAction SilentlyContinue

$FirefoxInstallLocations = Get-ChildItem -Path 'C:\Users\*' -Include "Helper.exe" -Recurse -Force -ErrorAction SilentlyContinue

FOREACH($FireFoxInstallLocation in $FireFoxInstallLocations){ $SetupFile = $FireFoxInstallLocation.ToString() Start-Process -FilePath $SetupFile -ArgumentList "/s" -Wait -ErrorAction SilentlyContinue }

That is correct. The systems that have it, we are asking if its really required, and if so, to get those under a standard version that I can manage. Thank you for moving the question to the appropriate section. I was sorta successful in doing an forced uninstall using this powershell code: Start-Process 'C:\Program Files\Mozilla Firefox\uninstall\helper.exe' -ArgumentList "/s" -Wait -ErrorAction SilentlyContinue Start-Process "C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe" -ArgumentList "/s" -Wait -ErrorAction SilentlyContinue $FirefoxInstallLocations = Get-ChildItem -Path 'C:\Users\*' -Include "Helper.exe" -Recurse -Force -ErrorAction SilentlyContinue FOREACH($FireFoxInstallLocation in $FireFoxInstallLocations){ $SetupFile = $FireFoxInstallLocation.ToString() Start-Process -FilePath $SetupFile -ArgumentList "/s" -Wait -ErrorAction SilentlyContinue }

Modified by Rafius

Tyler Downer
  • Top 25 Contributor
  • Moderator
1530 solutions 10669 answers

I'm not sure if that's the best way or not, but I just wanted to point you to

https://www.mozilla.org/firefox/organizations/

You can use Firefox 60ESR (I wouldn't suggest 52) with full support for group policies and deployments. I hope that helps!

I'd be interested in what it would take to get your organization to switch to Firefox entirely?

I'm not sure if that's the best way or not, but I just wanted to point you to https://www.mozilla.org/firefox/organizations/ You can use Firefox 60ESR (I wouldn't suggest 52) with full support for group policies and deployments. I hope that helps! I'd be interested in what it would take to get your organization to switch to Firefox entirely?