My current approach to U3-ize applications is to import/export registry entries and copy files to their special locations and copy them back after use of the program. You can read more about it there: U3Helper. This has one little drawback: If you unplug your stick before properly "Ejecting" the LaunchPad, all changes which were not written directly to the stick are lost.
Now I'm trying to use JauntePE, so that changes of registry and filesystem go directly to the stick instead of being on the host system, until the user "Ejects" the U3-stick.
I already managed (using JPE 0.2) to get the registry thing working. But it doesn't seem to catch filesystem writes ... I'm testing with PhotoMatix and my PhotomatixPro_jauntePE.ini looks like this:
Code: Select all
[Registry]
Use=1
Data=%appname%_jauntePE.reg
[Filesystem]
Use=1
Data=.\Files\
[RegistryExclude]
1=*
[RegistryInclude]
1=HKEY_CURRENT_USER\Software\MultimediaPhoto
[RegistryIgnore]
1=HKEY_CURRENT_USER\Software\MultimediaPhoto
[FilesystemExclude]
[FilesystemInclude]
1=*
[FilesystemIgnore]
[ModuleExclude]
1=*
[ModuleInclude]
1=PhotomatixPro.exe
2=pm_tonemap.exe
3=PhotomatixCL.exe
[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
Also I'd like to know whether there is a possibility to put everything new to the application's folder (or below) into one directory and all changes to the rest of the local filesystem into another? But this would only be a nice addition, it's not neccessary to let the whole thing work ... I hope.
Thanks in advance.
Cheers,
-mARKUS
P.S.: redllar, keep up the great work. JPE is something I've wanted for a loooong time.