Difference between revisions of "McAfee VirusScan Enterprise"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 14: Line 14:
 
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.
 
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.
  
 +
<source lang="xml">
 
  <package id="mcafee85" name="McAfee VirusScan Enterprise" revision="2" reboot="false" priority="50">
 
  <package id="mcafee85" name="McAfee VirusScan Enterprise" revision="2" reboot="false" priority="50">
 
  <check type="logical" condition="and">
 
  <check type="logical" condition="and">
Line 38: Line 39:
 
     <remove cmd='MsiExec.exe /q /X{35C03C04-3F1F-42C2-A989-A757EE691F65} ' />
 
     <remove cmd='MsiExec.exe /q /X{35C03C04-3F1F-42C2-A989-A757EE691F65} ' />
 
  </package>  
 
  </package>  
 
+
</source>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Revision as of 15:18, 4 September 2008

This is a silent installer and uninstaller for McAfee VirusScan Enterprise.

<package id="mcafee" name="McAfee VirusScan Enterprise" revision="1" reboot="false" priority="0">
 <check type="uninstall" condition="exists" path="McAfee VirusScan Enterprise" />
 <install cmd='%SOFTWARE%\ent80epo\setup REBOOT=R /qb /l*v "c:\netinst\logs\vse80i.log" ' />
 <remove cmd='msiexec /uninstall{5DF3D1BB-894E-4DCD-8275-159AC9829B43} /qb /l*v "c:\netinst\logs\vse80u.log" ' />
</package>


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>