So we use the BartPE disks here at work all the time - and I've been tasked with adding a single, simple program to the main menu. It's just a simple EXE, but I'm having a heck of a time getting it to work.
The program is called RESTRMBR.EXE (it's a utility to restore the MBR of WD drives after imaging with BartPE - sound familiar?)
Here's my INF file:
; RestoreMBR.inf
[Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="Restore MBR"
Enable=1
[WinntDirectories]
a="Programs\RestoreMBR",2
[SourceDisksFiles]
RESTRMBR.EXE=a,,1
[Append]
nu2menu.xml, RestoreMBR_nu2menu.xml
Here's my XML file:
<!-- RestoreMBR_nu2menu.xml -->
<NU2MENU>
<MENU ID="Storage">
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\RESTRMBR.EXE))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\RESTRMBR.EXE">RestoreMBR (SSH)</MITEM>
</MENU>
</NU2MENU>
Any help would be *great!
thanks!