Remove MSXML 4.0 SP2 and 3 and updates with msiexec
Log In or Register to download the BES file, and more.

0 Votes

Description

This fixlet fully scrubs a computer of MSXML Parser 4.0 which is past end of life. It does so by cycling through all of the possible MSIEXEC commands for the various versions of the Parser.

Property Details

ID26634
StatusProduction - Fully Tested and Ready for Production
TitleRemove MSXML 4.0 SP2 and 3 and updates with msiexec
SourceInternal
Source Release Date1/22/2019 12:00:00 AM
KeywordsUninstaller, MSXML, MSXML 4.0
Added by on 7/11/2019 8:11:00 AM
Last Modified by on 7/11/2019 8:14:56 AM
Counters 39 Views / 0 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Windows XP or Later (Relevance 2997025)
Used in 6266 fixlets and 5 analyses   * Results in a true/false
Show indented relevance
/* Windows XP or later */ version of operating system >= "5.1"
Windows Only (Relevance 2997197)
Used in 6450 fixlets and 32 analyses   * Results in a true/false
Show indented relevance
/* Windows Only */ windows of operating system
Used in 2 fixlets   * Results in a true/false
Show indented relevance
exists (it as string as lowercase) whose (it starts with "MSXML 4.0 SP3 Parser" as lowercase) of values "DisplayName" of keys of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of (x64 registries; x32 registries)

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
//REM Uninstalling MSXML 4.0 SP2 and updates
//REM Uninstalling MSXML 4.0 SP2 Parser and SDK (Base Installer - msxml.msi)
waithidden MsiExec.exe /uninstall {{716E0306-8318-4364-8B8F-0CC4E9376BAC} /quiet
if {exit code of action = 0 or exit code of action = 3010}
parameter "result1"="success"
else
parameter "result1"="failure"
endif
//REM Uninstalling KB925672 (MS06-061 - msxml4-KB925672-enu.exe)
waithidden MsiExec.exe /uninstall {{A9CF9052-F4A0-475D-A00F-A8388C62DD63} /quiet
if {exit code of action = 0 or exit code of action = 3010}
parameter "result2"="success"
else
parameter "result2"="failure"
endif
//REM Uninstalling KB927978 (MS06-071 - msxml4-KB927978-enu.exe)
waithidden MsiExec.exe /uninstall {{37477865-A3F1-4772-AD43-AAFC6BCFF99F} /quiet
if {exit code of action = 0 or exit code of action = 3010}
parameter "result3"="success"
else
parameter "result3"="failure"
endif
//REM Uninstalling KB936181 (MS07-042 - msxml4-KB936181-enu.exe)
waithidden MsiExec.exe /uninstall {{C04E32E0-0416-434D-AFB9-6969D703A9EF} /quiet
if {exit code of action = 0 or exit code of action = 3010}
parameter "result4"="success"
else
parameter "result4"="failure"
endif
//REM Uninstalling KB954430 (MS08-069 - msxml4-KB954430-enu.exe)
waithidden MsiExec.exe /uninstall {{86493ADD-824D-4B8E-BD72-8C5DCDC52A71} /quiet
if {exit code of action = 0 or exit code of action = 3010}
parameter "result5"="success"
else
parameter "result5"="failure"
endif
//REM Uninstalling KB973688 (Non Security Update - msxml4-KB973688-enu.exe)
waithidden MsiExec.exe /uninstall {{F662A8E6-F4DC-41A2-901E-8C11F044BDEC} /quiet
if {exit code of action = 0 or exit code of action = 3010}
parameter "result6"="success"
else
parameter "result6"="failure"
endif
//REM Uninstalling MSXML 4.0 SP3 and updates
//REM Uninstalling MSXML 4.0 SP3 Parser (Base Installer - msxml.msi)
waithidden MsiExec.exe /uninstall {{196467F1-C11F-4F76-858B-5812ADC83B94} /quiet
if {exit code of action = 0 or exit code of action = 3010}
parameter "result7"="success"
else
parameter "result7"="failure"
endif
//REM Uninstalling KB973685 (Non Security Update - msxml4-KB973685-enu.exe)
waithidden MsiExec.exe /uninstall {{859DFA95-E4A6-48CD-B88E-A3E483E89B44} /quiet
if {exit code of action = 0 or exit code of action = 3010}
parameter "result8"="success"
else
parameter "result8"="failure"
endif
//REM Uninstalling KB2721691 (MS12-043 - msxml4-KB2721691-enu.exe)
Waithidden MsiExec.exe /uninstall {{355B5AC0-CEEE-42C5-AD4D-7F3CFD806C36} /quiet
if {exit code of action = 0 or exit code of action = 3010}
parameter "result9"="success"
else
parameter "result9"="failure"
endif
//REM Uninstalling KB2758694 (MS13-002 - msxml4-KB2758694-enu.exe)
waithidden MsiExec.exe /uninstall {{1D95BA90-F4F8-47EC-A882-441C99D30C1E} /quiet
if {exit code of action = 0 or exit code of action = 3010}
parameter "result10"="success"
else
parameter "result10"="failure"
endif
continue if [Parameter "result1" of action = "success" or Parameter "result2" of action = "success" or Parameter "result3" of action = "success" or Parameter "result4" of action = "success" or Parameter "result5" of action = "success" or Parameter "result6" of action = "success" or Parameter "result7" of action = "success" or Parameter "result8" of action = "success" or Parameter "result9" of action = "success" or Parameter "result10" of action = "success"}
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!