Help - Search - Members - Calendar
Full Version: Paragon Backup and Recovery 10 plugin
The CD Forum > Bart's PE Builder > Plugins
Menneset
This plugin was created largely based on effort put forth in this thread.

Paragon Express Edition (Free) software can be downloaded here.

This is a working plugin for Paragon’s Backup and Recovery Express version 10.02. To create the plugin you will need to download, register, and install the software using the above link. You should also run the software at least once on the host computer to allow it to write its configuration files. At this point open the Tools menu, click Settings and then select Hot Processing Options. Change the Hot Processing Technology from Microsoft VSS to Paragon Hot Processing.

(Note that this plugin was tweaked for the UBCD4Win naming structure, you may want to change the Name entry in the inf file and the MENU ID entries in the xml file to fit your specific build.)

Create a folder in your BartPE plugin folder for the new plugin, I named mine ParagonBR. Within that folder add the following two files.

BR10.inf
CODE
; BR10.inf
; PE Builder v3 plug-in INF file for Paragon Backup & Recovery
;

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="Disk -Backup: Paragon Backup and Recovery v10"
Enable=1

[WinntDirectories]
a="Programs\BR",3

[SourceDisksFolders]
files=a

[SourceDisksFiles]
system32\*.*=2,,1

[Append]
nu2menu.xml, BR10_nu2menu.xml

[Software.AddReg]
0x2, "Sherpya\XPEinit\Programs","Paragon Backup and Recovery","%SystemDrive%\Programs\BR\BR10.cmd||%SystemDrive%\Programs\BR\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"


BR10_nu2menu.xml
CODE
<!-- Nu2Menu entry for Paragon Backup & Recovery -->
<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\BR\BR10.cmd))"
         CMD="RUN"  
         VISIBILITY="@Shl(@Not(@FileExists(@GetWinDir()\system32\PreShell.exe)),'0')"  
         FUNC="@GetProgramDrive()\Programs\BR\BR10.cmd">Paragon Backup and Recovery
        </MITEM>
    </MENU>
</NU2MENU>


Next create a folder called files in the ParagonBR folder, within the files folder add the following file.

BR10.CMD
CODE
@echo off
echo Starting Paragon Backup and Recovery Free ver 10...
setlocal
if "%ramdrv%" == "" goto _err
if exist "%ramdrv%\Programs\BR\program\launcher.exe" goto _run

echo Moving Program Files to Ram Drive, (48MB)
echo Please Wait...
xcopy %SystemDrive%\Programs\BR\*.*  %ramdrv%\Programs\BR\ /s > nul
echo done.

:_run
reg delete hklm\system\currentcontrolset\control\minint /f
start /wait %ramdrv%\Programs\BR\program\launcher.exe
reg add hklm\system\currentcontrolset\control\MiniNT /ve
goto _end

:_err
echo.
echo Error: No ramdrive found, exiting...
echo.
pause.
:_end
endlocal


Browse to the installed copy of Backup and Recovery the default location is “C:\Program Files\Paragon Software\Backup and Recovery 10 Free Edition.” Copy the program, NLS, and uim folders and the layout.ini file into your plugin\ParagonBR\files folder. I omitted the other folders to save room and the software seems to run fine. This was tested with actual use on several computers in US-English only. If you choose, you may copy all the folders to the files folder. Should you decide to copy the remaining folders, be sure to omit the ISO folder. You may also delete the files p_vss_ws03_ia54.dll and p_vss_ws03_x54.dll from the files/program folder.

Next create a folder called System32 in the ParagonBR folder. Into that folder copy the files prgiso.dll, qtp-mt334.dll, and wnaspi32.dll from the Windows\System32 folder of the host computer where you installed the Backup and Recovery software.

That’s it, enjoy!
Menneset
Updated the first post to reflect feedback received. Added the NLS and uim folders to the list of required files and removed two 64 bit dll files from the program folder.

Updated the first post to move the System32 folder out of the files folder in order to prevent unnecessary duplication of files on the CD image.
supportguy

Thanks loads for creating this plugin, menneset. I've followed your instructions perfectly but have one issue. Once all the files & folders are in place I try to add the plugin & get an error. I'm obviously really new at this. Though there is an inf file in the folder, to add the plugin it requires a .cab extension. When I save the inf as a cab & try to add it I get the error. Is there a correct way I am supposed to create the cab file so the plugin can be added?

Thanks again!
Ed_P
Not all plugins are distributed as .cab files. Some are distributed as .zip files in which case you manually create a folder in the PEBuilder\plugins folder for the zipped plugin then extract the .zip file's contents to the newly created folder.

Store the .zip file itself someplace outside of the PEBuilder folder.
Menneset
First you will need to download and install the software from Paragon on an XP computer (usually the one you use to build the BartPE cd.)
Then create the plugin folder as described above and copy the files and folders specified from your Program Files folder into the plugin folder.
Then create three text files with the specific names and contents shown above in the appropiate folders.

Other than the download from Paragon there is really no CAB or ZIP files to deal with.

When you are all done it should look something like this...
CODE
plugin
|
|__ParagonBR (folder)
....|__BR10.inf (file you create)
....|__BR10_nu2menu.xml (file you create)
....|
....|__files (folder)
....|...|__program (folder)
....|...|__NLS (folder)
....|...|__uim (folder)
....|...|__layout.ini (file)
....|...|__BR10.cmd (file you create)
....|
....|__System32 (folder)
........|__prgiso.dll
........|__qtp-mt334.dll
........|__wnaspi32.dll
sicknero


.. I can't get this to work. I'm using BR10 and PM11, have followed all the instructions above and deleted MiniNT, but when I try to run them in PE I just get the briefest flash of a CMD window and then nothing. The rest of the PE works fine, but I did notice that if I run the PE disk in windows (i.e. just run the disk with XP already running) then both Paragon entries are greyed out in the nu2 menu.. hope that makes sense.
So am I missing something obvious? I know nothing about building plugins.
Ed_P
How big is your RAMdrive?

Also open a Command Prompt window and manually run the BR10.cmd file. That should show you any errors it encounters.
Menneset
QUOTE (Ed_P @ Sep 21 2010, 08:34 AM) *
How big is your RAMdrive?


I suspect that Ed_P is correct as to the issue lying with the RAM drive. The program files are nearly 50 MB and I am not sure what is required for temp files. I frequently run the program with a 96 MB RAM drive with no problems.
sicknero
QUOTE (Menneset @ Sep 22 2010, 08:14 PM) *
I suspect that Ed_P is correct as to the issue lying with the RAM drive. The program files are nearly 50 MB and I am not sure what is required for temp files. I frequently run the program with a 96 MB RAM drive with no problems.


Thank you both for the suggestions... I'm on something of a learning curve with all this, but I'll let you know how I get on
N
NewUser
Did the plugin Work with "BR 2011 free"?

Thanks smile.gif

EDIT:



It works not. sad.gif I hope you can help me to get it works.
I can not use the CD for rebuild (system encryptet). I MUST use the way over BartPE (mount cryptet device / open image ...)



EDIT2:

]I copy msvcp60.dll and msvcrt.dll from system32 in program and it runs, but the "Menu" Button are not working. It is grey / not clickable. sad.gif

Please help me smile.gif






Final EDIT:

Now it works. You must edit BR10.inf and BR10_nu2menu.xml.

BR10.inf
QUOTE
0x1,"ControlSet001\Control\Nls\Locale","00000409","1"

My mistake was right here. The ID must match the language version of BartPE source. You can look for the correct ID here:

http://msdn.microsoft.com/en-us/goglobal/bb895996

If you used the wrong ID, you get those shown by my C + + runtime error!



BR10_nu2menu.xml

Delete
QUOTE
VISIBILITY="@Shl(@Not(@FileExists(@GetWinDir()\system32\PreShell.exe)),'0')"

if you don´t have a preshell.exe (like me).


Now it will run fine! smile.gif


And with a default Ramdisk Size of 32MB you will get a RAMDISK Error. Enlarge the ramdisk in the ramdisk.ini. (BTW 128MB Setting will give me only 96MB :-/)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.