/build/static/layout/Breadcrumb_cap_w.png

Software Question


Uninstall script for all versions of Mozilla Firefox (Dell Kace)

01/29/2016 29815 views
I am looking for a script to use within Dell Kace that enables me to uninstall any versions of Mozilla firefox.  Does anyone have anything?  
0 Comments   [ + ] Show comments

Comments


All Answers

0

<?xml version="1.0" encoding="utf-8" ?>
<kbots xmlns="http://kace.com/Kbots.xsd">
<kbot>

<config name="Firefox Uninstall ALL" type="policy" id="268" version="1477489517" description="Uninstalls any version of Firefox.">

  <execute disconnected="false" logged_off="true">
  </execute>

</config>

<compliance>

  <verify on_failure="continue" attempts="1">

    <directory_exists path="C:\Program Files\Mozilla Firefox\uninstall" />

    <on_verify_success>
      <launch_program path="c:\Program Files\Mozilla Firefox\uninstall" program="helper.exe" wait="true" parms="-ms" />
      <log_message type="status" message="Uninstalled Firefox on x86 PC" />
    </on_verify_success>

    <on_verify_failure>

      <on_remediation_success>
      </on_remediation_success>

      <on_remediation_failure>
      </on_remediation_failure>

    </on_verify_failure>

  </verify>

  <verify on_failure="continue" attempts="1">

    <directory_exists path="C:\Program Files (x86)\Mozilla Firefox\uninstall" />

    <on_verify_success>
      <launch_program path="C:\Program Files (x86)\Mozilla Firefox\uninstall" program="helper.exe" wait="true" parms="-ms" />
      <log_message type="status" message="Uninstalled Firefox on x64 PC" />
    </on_verify_success>

    <on_verify_failure>

      <on_remediation_success>
      </on_remediation_success>

      <on_remediation_failure>
      </on_remediation_failure>

    </on_verify_failure>

  </verify>

</compliance>

</kbot>
</kbots>

Answered 10/26/2016 by: SteveNew
Senior White Belt

0
I found this on SpiceWorks. Test it out but looks like it should work

To sliently uninstall Firefox run the following commands (minus the bold characters)

taskkill.exe /f /im firefox.exe

Firefox (32-bit) IF EXIST "%ProgramFiles%\Mozilla Firefox\uninstall\helper.exe" "%ProgramFiles%\Mozilla Firefox\uninstall\helper.exe" -ms

Firefox (64-bit) - IF EXIST "%ProgramFiles(x86)%\Mozilla Firefox\uninstall\helper.exe" "%ProgramFiles(x86)%\Mozilla Firefox\uninstall\helper.exe" -ms

Firefox 3.x (32-bit) IF EXIST "%ProgramFiles%\Mozilla Firefox\uninstall\helper.exe" "%ProgramFiles%\Mozilla Firefox\uninstall\helper.exe" /s

Firefox 3.x (64-bit) IF EXIST "%ProgramFiles(x86)%\Mozilla Firefox\uninstall\helper.exe" "%ProgramFiles(x86)%\Mozilla Firefox\uninstall\helper.exe" /s


http://community.spiceworks.com/topic/469270-chrome-and-firefox-silent-uninstall-for-workgroup?page=1#entry-3168481

Answered 01/29/2016 by: rockhead44
Red Belt

  • hi, i tried this. thanks, it helped a lot. But it is leaving behind some files and user related registries. Do i need to implement uninstall active setup? If so, can anyone please suggest the script in powershell?
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ