I'm using a genuine version of Rising Antivirus. I want to create an IMG file for Rising Antivirus. The key is to extract the virus database files from RISING\RAV. The virus database files are: 8 def files (VirBoot.def, VIRCOM.def, VirInfo.def, VirMacr.def, VirMZ.def, VirNorm.def, VirPe.def, VirSct.def), 15 dll files (engine.dll, extFile.dll, ExtMail.dll, ExtOLE.dll, libload.dll, RsStore.dll, ScanEX.dll, ScanExec.dll, ScanMac.dll, ScanSct.dll, slang936.dll, UnExe.dll, vdp.dll, VirusLib.dll, Zip.DLL), and one virusdb.cfg file. Also, I need to create a Version.inf file according to the content of the virusdb.cfg file (the date and version number in the content will be different each time it's updated). Here I list the content of virusdb.cfg after the update on June 26, 2006:
FILECOUNT=13
ENGINEVER=17.00.00.36
VIRDEFVER=18.32.42.00
VIRDEFUPDATEDATE=2006-06-23
COM=VirCom.def
MZ=VirMZ.def
PE=VirPe.def
MACRO=VirMacr.def
SCRIPT=VirSct.def
NORMAL=VirNorm.def
BOOT=VirBoot.def
ELF=VirElf.def
INFO=VirInfo.def
MEM=SysMem.def
PTLIB=Posttrt.def
WLLIST=wllib.def
NVLIST=nvlib.def
INFO=VirusLib.dll
MEM=VirusLib.dll
PTLIB=VirusLib.dll
WLLIST=VirusLib.dll
NVLIST=VirusLib.dll
Also listed is the content of VERSION.INF created manually according to VIRUSDB.CFG:
VersionNo=18.32.42
UpdateDate=2006-06-23
The VERSION.INF file is used to display the version number. It's very cumbersome to create VERSION.INF manually each time. I want to use a batch process to achieve this. Could some kind - hearted person help?
The following is the batch process I put in the RISING directory to extract virus files. I just need to add the function to create the VERSION.INF file later. The created VERSION.INF should also be in the 001 directory.
MD 001
COPY /Y .\Rav\VirBoot.def .\001
COPY /Y .\Rav\VirCom.def .\001
COPY /Y .\Rav\VirInfo.def .\001
COPY /Y .\Rav\VirMacr.def .\001
COPY /Y .\Rav\VirMZ.def .\001
COPY /Y .\Rav\VirPe.def .\001
COPY /Y .\Rav\VirSct.def .\001
COPY /Y .\Rav\ENGINE.DLL .\001
COPY /Y .\Rav\EXTFILE.DLL .\001
COPY /Y .\Rav\EXTMAIL.DLL .\001
COPY /Y .\Rav\EXTOLE.DLL .\001
COPY /Y .\Rav\LIBLOAD.DLL .\001
COPY /Y .\Rav\RsStore.dll .\001
COPY /Y .\Rav\ScanEx.dll .\001
COPY /Y .\Rav\SCANEXEC.DLL .\001
COPY /Y .\Rav\SCANMAC.DLL .\001
COPY /Y .\Rav\SCANSCT.DLL .\001
REM COPY /Y .\Rav\sLang936.dll .\001
COPY /Y .\Rav\Unexe.dll .\001
COPY /Y .\Rav\VDP.DLL .\001
COPY /Y .\Rav\VirusLib.dll .\001
COPY /Y .\Rav\ZIP.DLL .\001
COPY /Y .\Rav\VirNorm.def .\001
COPY /Y .\Rav\VIRUSDB.CFG .\001
[ Last edited by tclshx on 2006-7-6 at 11:39 ]
FILECOUNT=13
ENGINEVER=17.00.00.36
VIRDEFVER=18.32.42.00
VIRDEFUPDATEDATE=2006-06-23
COM=VirCom.def
MZ=VirMZ.def
PE=VirPe.def
MACRO=VirMacr.def
SCRIPT=VirSct.def
NORMAL=VirNorm.def
BOOT=VirBoot.def
ELF=VirElf.def
INFO=VirInfo.def
MEM=SysMem.def
PTLIB=Posttrt.def
WLLIST=wllib.def
NVLIST=nvlib.def
INFO=VirusLib.dll
MEM=VirusLib.dll
PTLIB=VirusLib.dll
WLLIST=VirusLib.dll
NVLIST=VirusLib.dll
Also listed is the content of VERSION.INF created manually according to VIRUSDB.CFG:
VersionNo=18.32.42
UpdateDate=2006-06-23
The VERSION.INF file is used to display the version number. It's very cumbersome to create VERSION.INF manually each time. I want to use a batch process to achieve this. Could some kind - hearted person help?
The following is the batch process I put in the RISING directory to extract virus files. I just need to add the function to create the VERSION.INF file later. The created VERSION.INF should also be in the 001 directory.
MD 001
COPY /Y .\Rav\VirBoot.def .\001
COPY /Y .\Rav\VirCom.def .\001
COPY /Y .\Rav\VirInfo.def .\001
COPY /Y .\Rav\VirMacr.def .\001
COPY /Y .\Rav\VirMZ.def .\001
COPY /Y .\Rav\VirPe.def .\001
COPY /Y .\Rav\VirSct.def .\001
COPY /Y .\Rav\ENGINE.DLL .\001
COPY /Y .\Rav\EXTFILE.DLL .\001
COPY /Y .\Rav\EXTMAIL.DLL .\001
COPY /Y .\Rav\EXTOLE.DLL .\001
COPY /Y .\Rav\LIBLOAD.DLL .\001
COPY /Y .\Rav\RsStore.dll .\001
COPY /Y .\Rav\ScanEx.dll .\001
COPY /Y .\Rav\SCANEXEC.DLL .\001
COPY /Y .\Rav\SCANMAC.DLL .\001
COPY /Y .\Rav\SCANSCT.DLL .\001
REM COPY /Y .\Rav\sLang936.dll .\001
COPY /Y .\Rav\Unexe.dll .\001
COPY /Y .\Rav\VDP.DLL .\001
COPY /Y .\Rav\VirusLib.dll .\001
COPY /Y .\Rav\ZIP.DLL .\001
COPY /Y .\Rav\VirNorm.def .\001
COPY /Y .\Rav\VIRUSDB.CFG .\001
[ Last edited by tclshx on 2006-7-6 at 11:39 ]

