Microsoft .NET Framework Assistant

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

This package will *REMOVE* the "Microsoft .NET Assistant" Firefox extension which is silently (obtrusively!) installed by the .NET v3.5 SP1 "security" update. See: http://support.microsoft.com/kb/963707

<?xml version="1.0" encoding="UTF-8"?>
<packages>
    <package
        id="dotnetassistant"
        name="Microsoft .NET Framework Assistant Firefox Extension (Remover)"
        revision="1"
        reboot="false"
        priority="1">
        <check type="logical" condition="not">
            <check type="logical" condition="or">
                <check type="registry" condition="exists" path="HKLM\SOFTWARE\Mozilla\Firefox\Extensions\{20a82645-c095-46ed-80e3-08825760534b}" />
                <check type="file" condition="exists" path="%SYSTEMROOT%\Microsoft.NET\Framework\v3.5\Windows Presentation Foundation\DotNetAssistantExtension\install.rdf" />
            </check>
        </check>
        <depends package-id="firefox" />

        <install cmd='%COMSPEC% /c reg delete "HKLM\SOFTWARE\Mozilla\Firefox\Extensions" /v "{20a82645-c095-46ed-80e3-08825760534b}" /f' />
        <install cmd='%COMSPEC% /c rmdir /s /q "%SYSTEMROOT%\Microsoft.NET\Framework\v3.5\Windows Presentation Foundation\DotNetAssistantExtension"' />

        <!-- Empty upgrade command -->
        <upgrade cmd='%COMSPEC% /c exit' />

        <!-- Empty remove command -->
        <remove cmd='%COMSPEC% /c exit' />
    </package>

</packages>