Firefox portable+JPE sandbox (self cleaning)

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
-.-
Posts: 325
Joined: Mon Oct 06, 2008 4:32 pm

Firefox portable+JPE sandbox (self cleaning)

#1 Post by -.- »

is it possible to get jaunte to delete its sandbox folder after its closed? or launch a bat file that will delete the folder after program closes?
if not, I can just keep manually deleting it, just wondered if it was possible

edit:
after forgetting about this and doing it with ccleaner, i came back to this with autohotkey.

Code: Select all

#NoTrayIcon
#SingleInstance ignore
Run FirefoxJPE.exe
Sleep, 3000
Process, Waitclose, FirefoxPortable.exe
FileRemoveDir, .\Sandbox\, 1
FileCreateDir, .\Sandbox\
Exitapp
now I can sandbox firefoxportable with jpe and clean sandbox folder. I know it looks kind of ugly using ahk to launch jpe which in turn launches firefox wrapper for firefox lol. but I'm currently happy with it :D

here's the jpe code I used

Code: Select all

[Launch]
Path=.\FirefoxPortable.exe
JPERuntime=.\jauntePE.dll
JPERuntimeIni=.\%appname%_jauntePE.ini
JPERuntimeReg=.\Sandbox\%appname%_registry.reg
JPERuntimeWFS=.\Sandbox\
RedirReg=1
RedirWFS=1
AppReg=1
AppWFS=0
ExeDir=1

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

[Filesystem]
Use=1
Data=.\Sandbox\

[Redirection]
UseIcon=1
ModFrame=0
RedirMSI=0
RedirMisc=1
MemRegistry=1
FillRegistry=1
RegMerge=1
RegIgnDel=1
ExcludeAppDir=1
WFSMerge=1
FlashDisco=0
IconDisco=0
IdentMode=3

[FilesystemInclude]
1=28

[FilesystemExclude]
1=16
2=34
3=32

Post Reply