NOTE: Before running this example, you must first put a copy of the JPEPortable.exe in the RegEdit directory and rename it to toJPE.exe.
This example presents a simple way of using a portablized RegEdit to import the contents of one or more portable desktop system registry .reg files into an application's JauntePE portable registry.
The Launch section
This section's settings are read by the JauntePE-built app launcher and each overrides its equivalent stored within the launcher executable file.
[Launch]
Path=%Windows%\regedit.exe
JPERuntime=..\..\Runtime\jauntePE\def\jauntePE.dll
JPERuntimeIni=.\toJPE_jauntePE.ini
Params=..\Data\User\Desktop\export.reg
ExeDir=0
The rest of this file's sections are all JauntePE runtime ini sections and are read by the JauntePE runtime dll and again, used to override equivalent settings stored within the launcher executable file.
The Redirection section
The only setting of note here is FillRegistry. This is a new setting that is used to temporarily "fill in" the missing pieces of a portable registry's hierarchy. A registry browsing application such as RegEdit can then be run and the portable registry will be treated as if it were the system registry. MemRegistry must be on in order to use FillRegistry.
[Redirection]
UseIcon=1
ModFrame=1
MemRegistry=1
FillRegistry=1
The Registry sections
?
[Registry]
Use=1
Data=.\toJPE.reg
[RegistryIgnore]
1=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit
[PortableRegExclude]
1=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit
The Filesystem section
No file system redirection requirements are needed in this example since it is the portable registry .reg file itself that is being acted upon by the launched application.
[Filesystem]
Use=0