Wolfgang51
Feb 7 2008, 07:02 AM
Hello,
I'm a beginner and I don' know how to add a working BartPE Plugin to UBCD4Win.
With BarPE the plugin works fine. In UBCD4Win it is messing up the final XML code.
In wich Folder I have to copy the plugin. Something to modify (-inf or -xml?
**************************************************
; PE Builder v3 plug-in INF file
; Created by Bart Lagerweij
[Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="Drive SnapShot"
Enable=1
Help="snapshot.htm"
[WinntDirectories]
a="Programs\snapshot",2
b="Programs\snapshot\help",2
c="Programs\snapshot\help\css",2
d="Programs\snapshot\help\de",2
e="Programs\snapshot\help\download",2
f="Programs\snapshot\help\en",2
g="Programs\snapshot\help\images",2
[SourceDisksFiles]
files\snapshot.exe=a,,3
files\help\.htaccess=b,,3
files\help\*.*=b,,3
files\help\css\*.css=c,,3
files\help\de\.htaccess=d,,3
files\help\de\*.*=d,,3
files\help\download\*.*=e,,3
files\help\en\.htaccess=f,,3
files\help\en\*.*=f,,3
files\help\images\*.*=g,,3
[Append]
nu2menu.xml, snapshot.xml
**************************************************
<?xml version="1.0" encoding="utf-8"?>
<NU2MENU>
<MENU ID="Programs">
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\snapshot\snapshot.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\snapshot\snapshot.exe">Drive SnapShot 1.38</MITEM>
</MENU>
</NU2MENU>
**************************************************
I look forward to hearing from you soon.
Wolfgang
matchless
Feb 7 2008, 07:16 AM
QUOTE (Wolfgang51 @ Feb 7 2008, 07:02 AM)
Hello,
I'm a beginner and I don' know how to add a working BartPE Plugin to UBCD4Win.
With BarPE the plugin works fine. In UBCD4Win it is messing up the final XML code.
In wich Folder I have to copy the plugin. Something to modify (-inf or -xml?
Wolfgang
Try this:
snapshot.xml
<NU2MENU>
<MENU ID="Programs">
<MITEM TYPE="POPUP" MENUID="Disk Tools">Disk Tools</MITEM>
</MENU>
<MENU ID="Disk Tools">
<MITEM TYPE="POPUP" MENUID="Backup">Backup and Cloning</MITEM>
</MENU>
<MENU ID="Backup">
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\snapshot\snapshot.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\snapshot\snapshot.exe">Drive SnapShot</MITEM>
</MENU>
</NU2MENU>
For snapshot.inf
; PE Builder v3 plug-in INF file
; Created by Bart Lagerweij
[Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="Disk -Backup: Drive SnapShot"
Enable=1
Help="snapshot.htm"
[WinntDirectories]
a="Programs\snapshot",2
[SourceDisksFiles]
snapshot.exe=a,,3
[Append]
nu2menu.xml, snapshot.xml
This works, but I still need to test snapshot from UBCD4WIN properly some time.
Regrds
Wolfgang51
Feb 7 2008, 08:24 AM
QUOTE (matchless @ Feb 7 2008, 01:16 PM)
QUOTE (Wolfgang51 @ Feb 7 2008, 07:02 AM)
Hello,
I'm a beginner and I don' know how to add a working BartPE Plugin to UBCD4Win.
With BarPE the plugin works fine. In UBCD4Win it is messing up the final XML code.
In wich Folder I have to copy the plugin. Something to modify (-inf or -xml?
Wolfgang
Try this:
snapshot.xml
<NU2MENU>
<MENU ID="Programs">
<MITEM TYPE="POPUP" MENUID="Disk Tools">Disk Tools</MITEM>
</MENU>
<MENU ID="Disk Tools">
<MITEM TYPE="POPUP" MENUID="Backup">Backup and Cloning</MITEM>
</MENU>
<MENU ID="Backup">
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\snapshot\snapshot.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\snapshot\snapshot.exe">Drive SnapShot</MITEM>
</MENU>
</NU2MENU>
For snapshot.inf
; PE Builder v3 plug-in INF file
; Created by Bart Lagerweij
[Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="Disk -Backup: Drive SnapShot"
Enable=1
Help="snapshot.htm"
[WinntDirectories]
a="Programs\snapshot",2
[SourceDisksFiles]
snapshot.exe=a,,3
[Append]
nu2menu.xml, snapshot.xml
This works, but I still need to test snapshot from UBCD4WIN properly some time.
Regrds
Thank you for your assistance.
I'll modify the plugin in your way and test it after burning.
_________________
Kind regards,
Wolfgang
Drive Snapshot: http://www.drivesnapshot.de/
bengt
Feb 7 2008, 09:17 AM
@Wolfgang51
No need to burn cd:s, you could try using a virtualmachine to test new builds
QEMU, VirtualBox, VMWARE or other
Wolfgang51
Feb 8 2008, 07:16 AM
QUOTE (bengt @ Feb 7 2008, 03:17 PM)
@Wolfgang51
No need to burn cd:s, you could try using a virtualmachine to test new builds
QEMU, VirtualBox, VMWARE or other
Thank you very much for helping me.
I'm testing with CD-RW so I can update an bad new build.
By the way. My bootdisk works fine now.
bugmenot
Jan 6 2009, 11:32 AM
OK. I may not have spent enough time on this but where do you put the snapshot.xml and snapshot.inf and where the .exe file and other (help file seems to be mentioned in the configs)?
Also where do I find instructions for making the configs myself?
Thanks in advance.
hilander999
Jan 6 2009, 05:15 PM
Use some of the included plugins as a raod-map to creating one and the help file is located (Strangely enough) in your ubcd4win\HELP folder.