Difference between revisions of "F-prot Antivirus"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (grammer)
Line 1: Line 1:
'''F-PROT Antivirus (Windows, Corporate User) : [http://www.f-prot.com/download/ www.f-prot.com]'''
 
 
<source lang="xml">
 
 
<?xml version="1.0" encoding="utf-8" ?>
 
<?xml version="1.0" encoding="utf-8" ?>
<package
+
<packages>
  id="f-prot"
+
<package id="F-prot" name="F-Prot" revision="6095" reboot="true" priority="0">
  name="F-Prot"
+
 
  revision="3"
+
  reboot="true"
+
  priority="0">
+
 
   <!-- F-Prot wants to reboot, so we install it last (priority "0") and set reboot to "true" -->
 
   <!-- F-Prot wants to reboot, so we install it last (priority "0") and set reboot to "true" -->
 
   
 
   
  <check
+
  <check type="file" condition="exists" path="%PROGRAMFILES%\FRISK Software\F-PROT Antivirus for Windows\FPWin.exe" />
  type="file"
+
 
  condition="exists"
+
<install cmd='regedit /s "%SOFTWARE%\Fprot\fprot_update.reg "' />
  path="%PROGRAMFILES%\FRISK Software\F-PROT Antivirus for Windows\FPWin.exe" />
+
<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>
  
<install
 
  cmd='msiexec /package %SOFTWARE%\f-prot\fpav-windows-x86-hc-en-6.0.8.0.msi /qn /norestart' >
 
 
  <exit
 
code="3010" />
 
</install>
 
 
<!-- The 3010 exit code means it needs a reboot, we are happy with that so tell  
 
<!-- 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
 
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.  -->
 
changes to the local wpkg.xml file. The wpkg does the restarting.  -->
 
  
<upgrade
 
  cmd='msiexec /qb /package %SOFTWARE%\f-prot\fpav-windows-x86-hc-en-6.0.8.0.msi /qn /norestart' >
 
  <exit
 
  code="3010" /></upgrade>
 
  
 +
<!-- Removing Previous version (6.0.9.1) = CD152419-57A6-48F6-A959-95661FCD12E0 -->
  
  <remove
+
  <upgrade cmd='msiexec /q /x {CD152419-57A6-48F6-A959-95661FCD12E0} /norestart' > <exit code='0' /><exit code='1605' /></upgrade>
  cmd="msiexec /qb /uninstall {634E2218_42E7_46B5_9A72_CEAD4BC92EC2}" >
+
<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>
  <exit
+
  code="3010" /></remove>
+
 +
<remove cmd="msiexec /q /x {CD152419-57A6-48F6-A959-95661FCD12E0}" ><exit code="3010" /><exit code="1641" /></remove>
  
</package>
 
  
<!-- The uninstall reference is specific to 6.0.8. For example 6.0.7 used
 
FE739B2B-D576-4914-B9AE-1EAC359AAE99. For later versions the correct number can be
 
found by searching the registry -->
 
</source>
 
  
[[Category:Silent Installers]]
+
</package>
 +
</packages>

Revision as of 18:19, 14 February 2011

<?xml version="1.0" encoding="utf-8" ?> <packages> <package id="F-prot" name="F-Prot" revision="6095" reboot="true" priority="0">


<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>



<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> </packages>