F-prot Antivirus
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 'F-PROT%%'" call uninstall' />
<upgrade cmd='regedit /s "%SOFTWARE%\Fprot\reg32.reg "' architecture="x86" />
<upgrade cmd='regedit /s "%SOFTWARE%\Fprot\reg64.reg "' architecture="x64" />
<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 'F-PROT%%'" 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\\"