76
edits
Changes
no edit summary
</package>
</source>
Amended*
I tried the above but the setup would fail when upgrading an existing version 8 installation to 8.5 as some framework services were already running. I stopped the services, then uninstalled the previous version 8 and then installed 8.5. I also check for the patch version, mine is currently patch 5.
<package id="mcafee85" name="McAfee VirusScan Enterprise" revision="2" reboot="false" priority="50">
<check type="logical" condition="and">
<check type="uninstall" condition="exists" path="McAfee VirusScan Enterprise" />
<check type="file" condition="versiongreaterorequal" path="%programfiles%\mcafee\virusscan enterprise\mcupdate.exe" value="8.5.0.909" />
</check>
<install cmd='net stop mcafeeframework ' >
<exit code='2' />
</install>
<install cmd='net stop mcshield ' >
<exit code='2' />
</install>
<install cmd='net stop mctaskmanager ' >
<exit code='2' />
</install>
<install cmd='MsiExec.exe /q /X{5DF3D1BB-894E-4DCD-8275-159AC9829B43} ' >
<exit code='1605' />
</install>
<install cmd='MsiExec.exe /q /X{35C03C04-3F1F-42C2-A989-A757EE691F65} ' >
<exit code='1605' />
</install>
<install cmd='%SOFTWARE%\VSE850\setupvse.exe REBOOT=R RUNAUTOUPDATE="" RUNONDEMANDSCAN="" /qb- /lv "C:\Temp\McAfee_Install.log" ' />
<upgrade cmd='msiexec /p "%software%\vse850\patch5\patch5.MSP" /qn ' />
<remove cmd='MsiExec.exe /q /X{35C03C04-3F1F-42C2-A989-A757EE691F65} ' />
</package>
[[category:Silent Installers]]