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

Please log in to comment

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
White Belt

Please log in to comment
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
Tenth Degree Black 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?
Please log in to comment
Answer this question or Comment on this question for clarity

Share