Hi Piney!
thanks for your tip! Now the Start Programm shows wrong, 6 menuirems Registry Tool menu and 6 items Application all the same....
The hole mcafee staff is now under Anti-Virus Tools, better would be under Start, Anti-Virus Tools, Mcafee.
I don't know how to send a file in this forum for the funny menu.
Here is my mcafeeram_nu2menu:
<!-- Nu2Menu entry for McAfee Command Line VirScan Run From RamDisk + NaiUpdater -->
<NU2MENU>
; <MENU ID="Programs">
; <MITEM TYPE="POPUP" MENUID="Virus">[RAMDISK] McAfee Anti-Virus scanner</MITEM>
; </MENU>
;
; <MENU ID="Virus">
<MENU ID="Programs">
<MITEM TYPE="POPUP" MENUID="Anti-Virus Tools">Anti-Virus Tools</MITEM>
</MENU>
<MENU ID="Anti-Virus Tools">
<MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\mcafeeram\NaiUpdater.exe @GetEnvVar('temp')\mcafee">Update Virus Definitions</MITEM>
<MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetWinDir()\system32\mcunpack.cmd">Unpack Current Virus Definition to Ramdisk</MITEM>
<MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetEnvVar('ComSpec') /c del /q /f @GetEnvVar('temp')\mcafee">Cleanup Ramdisk Data</MITEM>
<MITEM TYPE="SEPARATOR"></MITEM>
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetEnvVar('temp')\mcafee\scangui.exe)" CMD="RUN" FUNC="@GetEnvVar('temp')\mcafee\scangui.exe">McAfee VirusScan GUI Wrapper</MITEM>
<MITEM TYPE="SEPARATOR"></MITEM>
<MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetEnvVar('temp')\mcafee\scan.exe /adl /noexpire /rpterr /report @GetEnvVar('temp')\scan.txt">Scan all drives (report)</MITEM>
<MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetEnvVar('temp')\mcafee\scan.exe /adl /all /noexpire /rpterr /report @GetEnvVar('temp')\scan.txt">Scan all drives, all files (report)</MITEM>
<MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetEnvVar('temp')\mcafee\scan.exe /adl /noexpire /clean /rpterr /report @GetEnvVar('temp')\scan.txt">Scan all drives, clean (report)</MITEM>
<MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetEnvVar('temp')\mcafee\scan.exe /adl /all /noexpire /clean /rpterr /report @GetEnvVar('temp')\scan.txt">Scan all drives, all files, clean (report)</MITEM>
<MITEM TYPE="SEPARATOR"></MITEM>
<MITEM TYPE="ITEM" CMD="RUN" PARM="3" FUNC="@GetWinDir()\system32\notepad.exe @GetEnvVar('temp')\scan.txt">View report</MITEM>
<MITEM TYPE="SEPARATOR"></MITEM>
<MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetEnvVar('ComSpec') /c del @GetEnvVar('temp')\scan.txt">Delete report file</MITEM>
</MENU>
</NU2MENU>
Thanks!
novell1
---------------------------------------------------------------------------------------------------------------------
QUOTE (The Piney @ Sep 19 2007, 09:49 AM)
This is my mcafee.xml file.. You have to add the highlighted section to your xml file..
<NU2MENU>
<MENU ID="Programs">
<MITEM TYPE="POPUP" MENUID="Anti-Virus Tools">Anti-Virus Tools</MITEM>
</MENU>
<MENU ID="Anti-Virus Tools">
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\McAfee\MCAfee.cmd))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\McAfee\MCAfee.cmd">McAfee GUI</MITEM>
</MENU>
</NU2MENU>
Leave the last part as you have it since that part is working..