Difference between revisions of "F-prot Antivirus"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m
Line 25: Line 25:
  
 
</package>
 
</package>
 
+
</source>
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Revision as of 19:31, 14 February 2011

<package id="F-prot" name="F-Prot" revision="6095" reboot="true" priority="0">

   <!-- F-Prot wants to reboot, so we install it last (priority "0") and set reboot to "true" -->
 
 <check type="file" condition="exists" path="%PROGRAMFILES%\FRISK Software\F-PROT Antivirus for Windows\FPWin.exe" />

 <install cmd='regedit /s "%SOFTWARE%\Fprot\fprot_update.reg "' /> 
 <install cmd='msiexec /q /i "%SOFTWARE%\Fprot\fpav-windows-x86-sc-en-6.0.9.5.msi" /norestart' ><exit code="1641" /><exit code="3010" /></install>

<!-- The 3010 exit code means it needs a reboot, we are happy with that so tell 
wpkg to accept it. We use the norestart switch at so that wpkg finishes cleanly and writes the
changes to the local wpkg.xml file. The wpkg does the restarting.  -->


<!-- Removing Previous version (6.0.9.1) = CD152419-57A6-48F6-A959-95661FCD12E0 --> 

 <upgrade cmd='msiexec /q /x {CD152419-57A6-48F6-A959-95661FCD12E0} /norestart' > <exit code='0' /><exit code='1605' /></upgrade>
 <upgrade cmd="msiexec /q /i %SOFTWARE%\Fprot\fpav-windows-x86-sc-en-6.0.9.5.msi /norestart" ><exit code="1641" /><exit code="3010" /></upgrade>
 
 
 <remove cmd="msiexec /q /x {CD152419-57A6-48F6-A959-95661FCD12E0}" ><exit code="3010" /><exit code="1641" /></remove>



</package>