Skip to Main Content
Patch My PC Feature and Application Request

A community where customers and the community can provide feedback to make a better product for everyone! For more details on how we prioritize request, please see:

Mozilla Firefox Older Version Uninstall

Would there be a way to script an uninstall of all older versions of Mozilla Firefox that would remove the files and the registry entry?

  • Attach files
      Drop here to upload
    • Rob Gura
      Reply
      |
      Aug 26, 2021

      you could write your own custom pre-install script to remove all old versions.

      I usually use

      $ARPName = "Firefox"

      $AppProd = Get-WmiObject -Class Win32_Product | Where-Object{$_.Name -match $ARPName}

      $AppProd.Uninstall()

    • Admin
      Adam Cook
      Reply
      |
      Jul 28, 2021

      I recommend updating them all to the latest version and deploying an uninstall assignment/deployment with the App once they're updated. It's unlikely we will provide a script within our catalogue to uninstall any version of Firefox when the functionality exists today by deploying uninstalls of Apps.

    • Guest
      Reply
      |
      Jul 27, 2021

      Thanks, Adam. More so we have multi Firefox version being detected with RAPID7. The idea is to have a general uninstall script that would remove files and registry entries for all older version.

    • Admin
      Adam Cook
      Reply
      |
      Jul 27, 2021

      For ConfigMgr Apps and Intune Apps, we populate the uninstall string so it is possible to uninstall Firefox. However the applications will only run the uninstall if it detects that version of the app itself to be installed - to work around this, customers first update the software to the latest version and then deploy an uninstall of the application.