RealPlayer Enterprise

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

This is a silent installer for RealPlayer Enterprise Education Edition available from [1]

This edition of RealPlayer is for education institutions. It doesn't have all of the ads and other junk that the commercial version does.

<package
        id="realplayer"
        name="RealPlayer Enterprise"
        revision="6.0.12.1798"
        reboot="false"
        priority="1">

    <check type="logical" condition="and">
            <check type="uninstall" condition="exists" path="RealPlayer Enterprise" />
            <check type="file" condition="versionequalto" path="%ProgramFiles%\Real\RealPlayer Enterprise\realplay.exe" value="6.0.12.1798" />
    </check>

        <install cmd="%SOFTWARE%\realplayer\RealPlayerEnterprise /s" />
        <install cmd="taskkill /F /IM realplay.exe" >
                 <exit code="0"/>
                 <exit code="128"/>
        </install>
        <install cmd='cmd /c netsh firewall add allowedprogram program="%ProgramFiles%\Real\RealPlayer Enterprise\realplay.exe" name=RealPlayer mode=Enable scope=ALL profile=ALL' />

        <upgrade cmd="%SOFTWARE%\realplayer\RealPlayerEnterprise /s" />
        <upgrade cmd="taskkill /F /IM realplay.exe" >
                 <exit code="0"/>
                 <exit code="128"/>
        </upgrade> 

        <remove cmd='"%ProgramFiles%\Common Files\Real\Update_OB\r1puninst.exe"' />
        <remove cmd='cmd /c netsh firewall delete allowedprogram program="%ProgramFiles%\Real\RealPlayer Enterprise\realplay.exe"' />
</package>