Help - Search - Members - Calendar
Full Version: Sophos Calls Mcafee Cmd File?
The CD Forum > Bart's PE Builder > Troubleshooting
JetLi
Why would my Sophos XML file call McAfee Antivirus CMD file? I have gone through the files and just can't see the problem, any help would be greatly appreciated. I am not sure who's cab I got this from, I know I didn't write this one but was used from a pre-existing plugin I found on this forums.

[edit] this plugin was written by MPKing - found here[/edit]


This is my INF file..
QUOTE
; sav32cli.inf
; PE Builder v3 plug-in INF file for sav32cli
; Created by Bart Lagerweij

[Version]Signature= "$Windows NT$"

[PEBuilder]
Name="Sophos Commandline AV Scanner"
Enable=1
Help="sav32cli.htm"

[WinntDirectories]
a="Programs\sav32cli",2

[SourceDisksFiles]
sav32cli.exe=a,,1
osdp.dll=a,,1
savi.dll=a,,1
veex.dll=a,,1
vdl.dat=a,,1
*.ide=a,,1
vdl*.vdb=a,,1
sav32cli.txt=a,,1
readcli.txt=a,,1

[Append]
nu2menu.xml, sav32cli_nu2menu.xml


This is my XML file...
QUOTE
<!-- Nu2Menu entry for Sophos Command Line VirScan -->
<NU2MENU>
<MENU ID="Programs">     
  <MITEM TYPE="POPUP" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\sav32cli\*.*))" MENUID="Virus">Sophos Anti-Virus scanner</MITEM>
</MENU>

<MENU ID="Virus">
  <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\sav32cli\sav32cli.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\sav32cli\sav32cli.exe -P=C:\savscan.txt">Scan all drives (Standard extensions, report, don't clean)</MITEM>
  <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\sav32cli\sav32cli.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\sav32cli\sav32cli.exe -all -P=C:\savscan.txt">Scan all drives (All files and archives), report, don't clean)</MITEM>
  <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\sav32cli\sav32cli.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\sav32cli\sav32cli.exe -DI -P=c:\savscan.txt">Scan all drives, (Standard extensions, clean and report)</MITEM>
  <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\sav32cli\sav32cli.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\sav32cli\sav32cli.exe -DI -all -P=c:\savscan.txt">Scan all drives, (All files and archives, clean and report)</MITEM>
  <MITEM TYPE="SEPARATOR"></MITEM>
  <MITEM TYPE="ITEM" CMD="RUN" PARM="3" FUNC="@GetWinDir()\system32\notepad.exe c:\savscan.txt">View report</MITEM>
  <MITEM TYPE="SEPARATOR"></MITEM>
  <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetEnvVar('ComSpec') /c del c:\savscan.txt">Delete report file</MITEM>
</MENU>
</NU2MENU>
JetLi
Actually, now that I look at it, it's actually using the McAfee XML file for some reason, other than the start where it says "Sophos Antivirus"...Please help.
JetLi
I finally figured it out, the MenuID for both Sophos and McAfee are both using the MenuID "Virus", after changing the McAfee to "Virus_McAfee" and the Sophos to "Virus_Sophos", all my problems have been fixed. This was all done in the XML code and menu system for those who are still just learning like myself.

Jet
mpking
I changed it in the source for the sophos plugin.

http://www.mpking.com/pebuilder/

Thanks for pointing that out.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.