Changes

Jump to: navigation, search

F-prot Antivirus

1,434 bytes added, 19:43, 28 July 2011
http://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">
<package id="F!-prot" name-################################################################################ SCRIPT ="F-Prot" revisionAntivirus - LAN Updates ## REVISION ="6095" reboot28/07/2011 ## MAINTAINER ="true" priorityVince ## COMPATIBILITY="0"(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 wants to reboot, so we install it last (priority Antivirus"0") and set reboot to "true" --> <check type revision="file%version%" condition reboot="existstrue" path priority="%PROGRAMFILES%\FRISK Software\F-PROT Antivirus for Windows\FPWin.exe0" />
<install cmdvariable name='regedit /s "%SOFTWARE%\Fprot\fprot_update.reg version"' /> <install cmdvalue='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 thechanges to the local wpkg.xml file. The wpkg does the restarting. 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- Removing Previous x86-sc-en-%version (6%.0.9.1) msi" /norestart' architecture= CD152419"x86" ><exit code="1641" /><exit code="3010" /></install> <install cmd='msiexec /q /i "%SOFTWARE%\Fprot\fpav-57A6windows-48F6x64-A959-95661FCD12E0 sc-en-%version%.msi" /norestart' architecture="x64" ><exit code="1641" /><exit code="3010" /></install>
<upgrade cmd='msiexec /q /x {CD152419!-57A6-48F6we must first uninstall old versions of Fprot prior update it -A959-95661FCD12E0} /norestart' > <exit codeupgrade cmd='0wmic product where "name like &apos;F-PROT%%&apos;" call uninstall' />  <exit codeupgrade cmd='1605regedit /s "%SOFTWARE%\Fprot\reg32.reg "' architecture="x86" /></upgrade> <upgrade cmd='regedit /s "msiexec /q /i %SOFTWARE%\Fprot\fpav-windows-x86-sc-en-6reg64.0.9.5.msi /norestartreg " ><exit code' architecture="1641x86" /><exit code="3010" /></upgrade>
<remove upgrade cmd="msiexec /q /x {CD152419i %SOFTWARE%\Fprot\fpav-57A6windows-48F6x86-A959sc-95661FCD12E0}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" /></removeupgrade>
<remove cmd='wmic product where "name like &apos;F-PROT%%&apos;" call uninstall' />
</package>
</package>
</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]]
17
edits

Navigation menu