Johnnyg
Nov 26 2007, 07:52 PM
I created a plugin for Partition Table Doctor 3.5
PartTableDoctor.inf file:
; PartTableDoctor.inf
; PE Builder v3 plug-in INF file for Partition Table Doctor 3.5
; plugin by Johnny
[Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="Commercial Software (requires license): Partition Table Doctor 3.5"
Help="PartTableDoctor.htm"
Enable=1
[WinntDirectories]
a="Programs\PartTableDoctor",2
[SourceDisksFiles]
files\hd03.dll=a,,1
files\hd04.dll=a,,1
files\hd05.dll=a,,1
files\HdCtrl.dll=a,,1
files\INETWH32.dll=a,,1
files\license.txt=a,,1
files\mfc42.dll=a,,1
files\msvcp60.dll=a,,1
files\msvcrt.dll=a,,1
files\PartRecRs.dll=a,,1
files\PTD.BIN=a,,1
files\PTD.pdf=a,,1
files\PtdSet.ini=a,,1
files\PtdWin.cnt=a,,1
files\PtdWin.exe=a,,1
files\PTDWIN.HLP=a,,1
files\ReadMe.txt=a,,1
files\ROBOEX32.DLL=a,,1
files\Worker.dll=a,,1
[Append]
nu2menu.xml, PartTableDoctor_nu2menu.xml
PartTableDoctor_nu2menu.xml file:
<!-- Nu2Menu entry for Partition Table Doctor -->
<NU2MENU>
<MENU ID="Programs">
<MITEM TYPE="POPUP" MENUID="Disk Tools">Disk Tools</MITEM>
</MENU>
<MENU ID="Disk Tools">
<MITEM TYPE="POPUP" MENUID="Partition">Partition</MITEM>
</MENU>
<MENU ID="Partition">
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PartTableDoctor\PtdWin.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\PartTableDoctor\PtdWin.exe">Partition Table Doctor 3.5</MITEM>
</MENU>
</NU2MENU>
Johnny
rdsok
Nov 26 2007, 07:58 PM
Here is a suggestion that will save you time later... instead of using [SourceDisksFiles] with the list of seperate files below it try..
[SourceDisksFolders]
files=a,,1
You can also combine one with the other in case you have an additional file or two that aren't located in the files folder... such as a CMD file perhaps or other...
Johnnyg
Nov 26 2007, 08:04 PM
QUOTE (rdsok @ Nov 26 2007, 07:58 PM)
Here is a suggestion that will save you time later... instead of using [SourceDisksFiles] with the list of seperate files below it try..
[SourceDisksFolders]
files=a,,1
You can also combine one with the other in case you have an additional file or two that aren't located in the files folder... such as a CMD file perhaps or other...
Yes rdsok, also files\*.*=a,,1, but i want sowed the filenames for everyone.
Johnny
Johnnyg
Nov 26 2007, 08:20 PM
Sorry i forgeted: in "PtdSet.ini" file edit the line
ced show at startup=yes
to
ced show at startup=no
At program starting don't prompt to create bootable diskette.
Johnny
DigiWiz
Nov 27 2007, 12:37 AM
Looks identical to the PTD plugin I made in August '05, except I do use
CODE
[SourceDisksFolders]
files=a,,1
method to save some time... but props to you for showing those who may be unfamiliar with the program, which files are needed. It's always courteous to show a list of necessary files if not expressly shown in the plugin - so you did well.
For the unitiated who like to play: make an image of your partition before attempting to repair or play around with this app (it's good practice to image before repairing anyways). PTD is especially potentially dangerous, and you could be very sorry if you click "OK" when not knowing exactly what you're doing. PTD can save your butt, or "kick you in the" butt
BTW - it also runs fine from the RAMDrive - I use to SFX_RAR technique to save space on my CD (PTD <1MB)... every little MB counts, especially on a miniCD.
DW

Johnnyg
Nov 27 2007, 08:37 AM
QUOTE (DigiWiz @ Nov 27 2007, 12:37 AM)
Looks identical to the PTD plugin I made in August '05, except I do use
CODE
[SourceDisksFolders]
files=a,,1
method to save some time... but props ....
Hi DigiWiz, my O: partition has disappeared from windows without data loss.
This program don't writes on hard disk data area, therefore don't generates anyting.
So i repaired the problem without danger.
Whenever i could copy my data before or after possible accident.
After this i thinked to create a plugin.
Usually for personal use, i use
[SourceDisksFiles]
files\*.*=a,,1
and rarely
[SourceDisksFolders]
files=a,,1
Some times i want to viewed the filenames.
The advantage of this method is if you forget to copy a file into "files" directory.
Then generated an error.
Johnny