In my plugins below, the files directory was copied directly from that of the installed version in C:\Program files\Pmanager.
The INF file is
CODE
; PManager.inf
; PE Builder v3 plug-in INF file for Paragon Partition Manager
;
; disabled Recovery Media Builder, and hotcore3.sys by default
; in the plugin as i don't think there needed in PE.
[Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="Paragon Partition Manager v9.5"
Enable=1
[WinntDirectories]
a="Programs\PManager",3
[SourceDisksFolders]
files=a
[SourceDisksFiles]
files\system32\prgiso.dll=2,,1
files\system32\qtp-mt334.dll=2,,1
;files\system32\msvcp60.dll=2,,1
;files\system32\msvcrt.dll=2,,1
[Software.AddReg]
0x2, "Sherpya\XPEinit\Programs","Paragon Partition Manager 9.5 Professional","%SystemDrive%\Programs\PManager\Program\launcher.exe||%SystemDrive%\Programs\Pmanager\program\launcher.ico"
;[SetupReg.Addreg]
;0x1,"ControlSet001\Control\Nls\Locale","00000409","1"
;0x1,"ControlSet001\Control\Nls\Language Groups","1","1"
;0x1,"ControlSet001\Control\Nls\Locale\Alternate Sorts","00010407","1"
; PE Builder v3 plug-in INF file for Paragon Partition Manager
;
; disabled Recovery Media Builder, and hotcore3.sys by default
; in the plugin as i don't think there needed in PE.
[Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="Paragon Partition Manager v9.5"
Enable=1
[WinntDirectories]
a="Programs\PManager",3
[SourceDisksFolders]
files=a
[SourceDisksFiles]
files\system32\prgiso.dll=2,,1
files\system32\qtp-mt334.dll=2,,1
;files\system32\msvcp60.dll=2,,1
;files\system32\msvcrt.dll=2,,1
[Software.AddReg]
0x2, "Sherpya\XPEinit\Programs","Paragon Partition Manager 9.5 Professional","%SystemDrive%\Programs\PManager\Program\launcher.exe||%SystemDrive%\Programs\Pmanager\program\launcher.ico"
;[SetupReg.Addreg]
;0x1,"ControlSet001\Control\Nls\Locale","00000409","1"
;0x1,"ControlSet001\Control\Nls\Language Groups","1","1"
;0x1,"ControlSet001\Control\Nls\Locale\Alternate Sorts","00010407","1"
CODE
The XML file used is
<!-- Nu2Menu entry for Partition Manager -->
<NU2MENU>
<MENU ID="Programs">
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PManager\Program\launcher.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\PManager\Program\launcher.exe">Partition Manager</MITEM>
</MENU>
</NU2MENU>
<!-- Nu2Menu entry for Partition Manager -->
<NU2MENU>
<MENU ID="Programs">
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PManager\Program\launcher.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\PManager\Program\launcher.exe">Partition Manager</MITEM>
</MENU>
</NU2MENU>
Any help would be greatly appreciated
bbersted