so my idea for the practise we need to follow was like thisredllar wrote: The more you, meaning the person attempting to portablize a non-portable app, can give the JPE runtime in terms of how the app uses the registry, the better. Because JPE is really, really, stupid. It needs help from you so that it can then skip as much code as possible that takes a lot of time to execute
1. portable the application using "portable the registry(redirect the registry)", "keep in memory", and "redirect the Filesystem". Below should be the minimal configuration in appname_JauntePE.ini
Code: Select all
[Registry]
Use=1
Data=.\Registry\%appname%_registry.reg
[Filesystem]
Use=1
Data=.\Files\
[RegistryExclude]
1=HKEY_CURRENT_USER\Software\Microsoft\DirectInput
2=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32
3=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2
4=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
5=HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam
6=HKEY_LOCAL_MACHINE\Software\Microsoft\Direct3D
7=HKEY_LOCAL_MACHINE\Software\Microsoft\DirectDraw
8=HKEY_LOCAL_MACHINE\Software\Microsoft\DirectInput
9=HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
10=HKEY_LOCAL_MACHINE\System\CurrentControlSet
[SpecialFolders]
0=Files\Desktop
1=Files\Internet
2=Files\StartMenu\Programs
3=Files\Computer\Controls
4=Files\Computer\Printers
5=Files\Documents
6=Files\Favorites
7=Files\StartMenu\Programs\Startup
8=Files\RecentDocs
9=Files\SendTo
10=Files\Desktop\RecycleBin
11=Files\StartMenu
12=Files\Documents
13=Files\Documents\Music
14=Files\Documents\Video
15=Files\Unknown
16=Files\Desktop
17=Files\Drives
18=Files\Network
19=Files\NetHood
20=Files\Windows\Fonts
21=Files\Templates
22=Files\StartMenu
23=Files\StartMenu\Programs
24=Files\StartMenu\Programs\Startup
25=Files\Desktop
26=Files\AppData
27=Files\PrintHood
28=Files\AppData
29=Files\Startup
30=Files\Startup
31=Files\Favorites
32=Files\INetCache
33=Files\INetCookies
34=Files\INetHistory
35=Files\AppData
36=Files\Windows
37=Files\Windows\System
38=Files\ProgramFiles
39=Files\Documents\Pictures
40=Files
41=Files\Windows\System
42=Files\ProgramFiles
43=Files\ProgramFiles\Common
44=Files\ProgramFiles\Common
45=Files\Templates
46=Files\Documents
47=Files\StartMenu\Programs\AdminTools
48=Files\StartMenu\Programs\AdminTools
49=Files\Connections
50=Files\Unknown
51=Files\Unknown
52=Files\Unknown
53=Files\Documents\Music
54=Files\Documents\Pictures
55=Files\Documents\Video
56=Files\Windows\Resources
57=Files\Local\Resources
58=Files\OEM
59=Files\AppData\CDBurnArea
60=Files\Unknown
61=Files\ComputersNearMe
62=Files
3. Exit the the program. Take a look into Files folder and the appname_registry.reg(using notepad)
4. Based on your observation in step(3), change/edit again your appname_JauntePE.ini
for example:
If you open the Files folder and there is nothing Filesystem to hook, change the configuration before to this
Code: Select all
[Filesystem]
Use=0
HKEY_CURRENT_USER\software\Appname , change configuration settings to this
Code: Select all
[RegistryExclude]
1=HKEY_CLASSES_ROOT
2=HKEY_CURRENT_CONFIG
3=HKEY_CURRENT_USER
4=HKEY_LOCAL_MACHINE
5=HKEY_USERS
[RegistryInclude]
1=HKEY_CURRENT_USER\software\Appname
*notes:
ok, i'm confius now when trying to give an example in step(4), what is the different [RegistryExclude] configurations between JauntePE_jauntePE.ini and regedit_jauntePE.ini?
but the whole step i think should be ok for the best practise..just need more information on step(4)