Difference between revisions of "F-prot Antivirus"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (add external link)
(http://f-prot.com/)
Line 1: Line 1:
 
F-Prot is a Commercial antivirus. See http://www.f-prot.com/
 
F-Prot is a Commercial antivirus. See http://www.f-prot.com/
 +
 +
The Registry file set the update server.
  
 
<source lang="xml">
 
<source lang="xml">
<package id="F-prot" name="F-Prot" revision="6095" reboot="true" priority="0">
+
<!--
 +
###############################################################################
 +
# SCRIPT      = F-Prot Antivirus - LAN Updates                              #
 +
# REVISION    = 28/07/2011                                                  #
 +
# MAINTAINER  = Vince                                                        #
 +
# COMPATIBILITY= (X) x86 | (X) x64 | (.) both separately                      #
 +
# UNINSTALL    = Via WMIC                                                    #
 +
# COMMENT      = Modify variable name and specify update server in both      #
 +
#              = registry files.                                              #
 +
###############################################################################
 +
-->
  
  <!-- F-Prot wants to reboot, so we install it last (priority "0") and set reboot to "true" -->
+
<packages>
+
  <package
<check type="file" condition="exists" path="%PROGRAMFILES%\FRISK Software\F-PROT Antivirus for Windows\FPWin.exe" />
+
id="Fprot"
 +
name="F-Prot Antivirus"  
 +
revision="%version%"  
 +
reboot="true"  
 +
priority="0">
  
<install cmd='regedit /s "%SOFTWARE%\Fprot\fprot_update.reg "' />
+
        <variable name="version" value="6.0.9.5" />
<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
+
<check type="uninstall" condition="exists" path="F-PROT Antivirus for Windows - LAN Updates" />
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.  -->
+
  
 +
<install cmd='regedit /s "%SOFTWARE%\Fprot\reg32.reg "' architecture="x86" />
 +
<install cmd='regedit /s "%SOFTWARE%\Fprot\reg64.reg "' architecture="x64" />
  
<!-- Removing Previous version (6.0.9.1) = CD152419-57A6-48F6-A959-95661FCD12E0 -->  
+
<install cmd='msiexec /q /i "%SOFTWARE%\Fprot\fpav-windows-x86-sc-en-%version%.msi" /norestart' architecture="x86" ><exit code="1641" /><exit code="3010" /></install>
 +
<install cmd='msiexec /q /i "%SOFTWARE%\Fprot\fpav-windows-x64-sc-en-%version%.msi" /norestart' architecture="x64" ><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>
+
        <!-- we must first uninstall old versions of Fprot prior update it -->
<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>
+
<upgrade cmd='wmic product where "name like &apos;F-PROT%%&apos;" call uninstall' />
 +
 
 +
<upgrade cmd='regedit /s "%SOFTWARE%\Fprot\reg32.reg "' architecture="x86" />
 +
<upgrade cmd='regedit /s "%SOFTWARE%\Fprot\reg64.reg "' architecture="x86" />
 
   
 
   
+
<upgrade cmd="msiexec /q /i %SOFTWARE%\Fprot\fpav-windows-x86-sc-en-%version%.msi /norestart" architecture="x86" ><exit code="1641" /><exit code="3010" /></upgrade>
<remove cmd="msiexec /q /x {CD152419-57A6-48F6-A959-95661FCD12E0}" ><exit code="3010" /><exit code="1641" /></remove>
+
<upgrade cmd="msiexec /q /i %SOFTWARE%\Fprot\fpav-windows-x64-sc-en-%version%.msi /norestart" architecture="x64" ><exit code="1641" /><exit code="3010" /></upgrade>
  
 +
<remove  cmd='wmic product where "name like &apos;F-PROT%%&apos;" call uninstall' />
  
 +
  </package>
  
</package>
 
 
</source>
 
</source>
 +
 +
 +
Reg32.reg:
 +
<source lang="dos">
 +
Windows Registry Editor Version 5.00
 +
 +
[HKEY_LOCAL_MACHINE\SOFTWARE\FRISK Software\F-PROT Antivirus for Windows]
 +
"LAN Updates"="\\\\SERVER\\FPROT\\"
 +
</source>
 +
 +
Reg64.reg:
 +
<source lang="dos">
 +
Windows Registry Editor Version 5.00
 +
 +
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\FRISK Software\F-PROT Antivirus for Windows]
 +
"LAN Updates"="\\\\SERVER\\FPROT\\"
 +
</source>
 +
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Revision as of 19:43, 28 July 2011

F-Prot is a Commercial antivirus. See http://www.f-prot.com/

The Registry file set the update server.

<!--
###############################################################################
# SCRIPT       = F-Prot Antivirus - LAN Updates                               #
# REVISION     = 28/07/2011                                                   #
# MAINTAINER   = Vince                                                        #
# COMPATIBILITY= (X) x86 | (X) x64 | (.) both separately                      #
# UNINSTALL    = Via WMIC                                                     #
# COMMENT      = Modify variable name and specify update server in both       #
#              = registry files.                                              #
###############################################################################
-->

<packages>
  <package 
	id="Fprot" 
	name="F-Prot Antivirus" 
	revision="%version%" 
	reboot="true" 
	priority="0">

        <variable name="version" value="6.0.9.5" />

	<check type="uninstall" condition="exists" path="F-PROT Antivirus for Windows - LAN Updates" />

	<install cmd='regedit /s "%SOFTWARE%\Fprot\reg32.reg "' architecture="x86" /> 
	<install cmd='regedit /s "%SOFTWARE%\Fprot\reg64.reg "' architecture="x64" /> 

	<install cmd='msiexec /q /i "%SOFTWARE%\Fprot\fpav-windows-x86-sc-en-%version%.msi" /norestart' architecture="x86" ><exit code="1641" /><exit code="3010" /></install>
	<install cmd='msiexec /q /i "%SOFTWARE%\Fprot\fpav-windows-x64-sc-en-%version%.msi" /norestart' architecture="x64" ><exit code="1641" /><exit code="3010" /></install>

        <!-- we must first uninstall old versions of Fprot prior update it -->
	<upgrade cmd='wmic product where "name like &apos;F-PROT%%&apos;" call uninstall' />

	<upgrade cmd='regedit /s "%SOFTWARE%\Fprot\reg32.reg "' architecture="x86" />  
	<upgrade cmd='regedit /s "%SOFTWARE%\Fprot\reg64.reg "' architecture="x86" />  
 
	<upgrade cmd="msiexec /q /i %SOFTWARE%\Fprot\fpav-windows-x86-sc-en-%version%.msi /norestart" architecture="x86" ><exit code="1641" /><exit code="3010" /></upgrade>
	<upgrade cmd="msiexec /q /i %SOFTWARE%\Fprot\fpav-windows-x64-sc-en-%version%.msi /norestart" architecture="x64" ><exit code="1641" /><exit code="3010" /></upgrade>

	<remove  cmd='wmic product where "name like &apos;F-PROT%%&apos;" call uninstall' />

  </package>


Reg32.reg:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\FRISK Software\F-PROT Antivirus for Windows]
"LAN Updates"="\\\\SERVER\\FPROT\\"

Reg64.reg:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\FRISK Software\F-PROT Antivirus for Windows]
"LAN Updates"="\\\\SERVER\\FPROT\\"