Firefox portable+JPE sandbox (self cleaning)
Posted: Sat Jul 03, 2010 12:45 pm
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.
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
here's the jpe code I used
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
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