Convert a regfile to jpe reg format

Discuss anything related to JauntePE, the utlimate utility to help you tame non-portable applications. Share your experience about the apps that work with JauntePE, and the apps that don't.
Post Reply
Message
Author
emmanuel d
Posts: 9
Joined: Sat May 17, 2008 7:09 am
Location: belgië

Convert a regfile to jpe reg format

#1 Post by emmanuel d »

1 create a launcher for regedit
2 put this code in the ini:

Code: Select all

[Registry]
Use=1
Data=.\%appname%.reg

[Filesystem]
Use=0
Data=..\..\

[Redirection]
RedirMisc=1
MemRegistry=0
UseIcon=1
ModFrame=1
FlashDisco=1

IconDisco=1

[RegistryInclude]
1=*

[RegistryIgnore]
1=*

[FilesystemExclude]

[FilesystemInclude]

[FilesystemIgnore]

[ModuleExclude]

[ModuleInclude]

[RegistryExclude]

[SpecialFolders]
3 create a bat file with notepad named "Reg2JpeReg.bat"
and put this code in:

Code: Select all

rem cleaning a existing regfile 
 >"%~dp0regedit.reg" cd.
rem import the regfile
"%~dp0regedit_portable.exe" /S %1
echo You have to wait untill the reg file isn't growing
pause
rem copy the regfile beside the original one
copy "%~dp0regedit.reg" "%~dpn1_JauntePe.reg"
rem deleting the jpe reg for next use
del "%~dp0regedit.reg"
Now you can draw any reg file into the bat file and there wil apear a new regfile but with jauntepe in it.

If you want it in the explorer contextmenu, continue step 4,5

4 create a inf file named "AddReg2JpeReg2ContextMenu.inf" or so
and put this code in:

Code: Select all

[version]
signature="$CHICAGO$"
 
[DefaultInstall]
AddReg=add-registry-section
 
[DefaultUnInstall]
DelReg=del-registry-section
 
[add-registry-section]
HKCR,"regfile\Shell\Reg2JpeReg",,,"Convert Regfile to Jpe Reg"
HKCR,"regfile\Shell\Reg2JpeReg\Command",,,"""%1%\Reg2JpeReg.bat"" ""%1"""

[del-registry-section]
HKCR,"regfile\Shell\Reg2JpeReg"
5 right click on "AddReg2JpeReg2ContextMenu.inf" and press install

your done

if it dos not work (if i made a mistake) please reply

you chould have these files together now:

Code: Select all

regedit.exe
regedit_portable.exe
regedit_jauntePE.ini
Reg2JpeReg.bat
AddReg2JpeReg2ContextMenu.inf
jauntePE.dll
madCHook.dll

Post Reply