How to make Direct Folders work inside sandbox?
-
- Posts: 216
- Joined: Sat Jan 14, 2006 11:08 am
How to make Direct Folders work inside sandbox?
Hi,
Does anyone now how to do this, how do I need to configure SBIE? To give some more info, it's a tool to enhance file-boxes, you can for example auto-size them, and sort folders on type or date. I want to make Direct Folders work for sandboxed apps.
http://www.codesector.com/directfolders
Thanks,
Rasheed
Does anyone now how to do this, how do I need to configure SBIE? To give some more info, it's a tool to enhance file-boxes, you can for example auto-size them, and sort folders on type or date. I want to make Direct Folders work for sandboxed apps.
http://www.codesector.com/directfolders
Thanks,
Rasheed
-
- Sandboxie Support
- Posts: 3523
- Joined: Thu Jun 18, 2015 3:00 pm
- Location: DC Metro Area
- Contact:
Re: How to make Direct Folders work inside sandbox?
Usually, these sort of programs don't play well inside of a SB.
-
- Posts: 216
- Joined: Sat Jan 14, 2006 11:08 am
Re: How to make Direct Folders work inside sandbox?
Yes I know, but often you can make them work with some extra configuration.Craig@Invincea wrote:Usually, these sort of programs don't play well inside of a SB.
Re: How to make Direct Folders work inside sandbox?
I started trying to create a template but ran into something of a dead end. I'm not sure how to find out the needed Window stuff as there is something blocked but not being shown in the resource access monitor.
Long story short, you can get most of the features to work by adding * to 'Window Access' under Resource Access but it's not a solution I'd recommend.
Update:
Instead of using the *, try these, it doesn't save sandboxed browsing locations on Windows 7 x64 but allows you to use locations you've navigated to outside of the sandboxed program or added manually in DF. Strangely enough it saves the folder history well on Windows XP :-/ Dunno what that's about.
-Snipped-
Update2:
Think I got it, finally. It wasn't sandboxie blocking anything after all, the program just needed the original window names! Give this a shot.
Long story short, you can get most of the features to work by adding * to 'Window Access' under Resource Access but it's not a solution I'd recommend.
Update:
Instead of using the *, try these, it doesn't save sandboxed browsing locations on Windows 7 x64 but allows you to use locations you've navigated to outside of the sandboxed program or added manually in DF. Strangely enough it saves the folder history well on Windows XP :-/ Dunno what that's about.
-Snipped-
Update2:
Think I got it, finally. It wasn't sandboxie blocking anything after all, the program just needed the original window names! Give this a shot.
Code: Select all
[Template_DirectFolders]
Tmpl.Title=Direct Folders
Tmpl.Class=Misc
Tmpl.Scan=s
Tmpl.ScanFile=%APPDATA%\Direct Folders
OpenWinClass=$:df.exe
OpenWinClass=#
Goo.gl/p8qFCf
-
- Posts: 216
- Joined: Sat Jan 14, 2006 11:08 am
Re: How to make Direct Folders work inside sandbox?
Thanks, will check it out.Syrinx wrote:
Think I got it, finally. It wasn't sandboxie blocking anything after all, the program just needed the original window names! Give this a shot.
Code: Select all
[Template_DirectFolders] Tmpl.Title=Direct Folders Tmpl.Class=Misc Tmpl.Scan=s Tmpl.ScanFile=%APPDATA%\Direct Folders OpenWinClass=$:df.exe OpenWinClass=#

-
- Posts: 216
- Joined: Sat Jan 14, 2006 11:08 am
Re: How to make Direct Folders work inside sandbox?
Call me stupid, but I need more help. Where should I add this template? I have tried to modify the SBIE config files, but it didn't work. I'm almost certain I'm doing something wrong.Syrinx wrote:
Think I got it, finally. It wasn't sandboxie blocking anything after all, the program just needed the original window names! Give this a shot.
Re: How to make Direct Folders work inside sandbox?
In my testing I added it directly to the sandboxie.ini as this allows the template to be available in general ([just like my MBAE template]active for every sandbox with a generic entry like those available from the default template.ini)/eg global. For testing (and a more secure setup) or specific setups however you can add it as a local template to a single box via the GUI Sandbox Settings > Applications > Local > Add
Goo.gl/p8qFCf
-
- Posts: 216
- Joined: Sat Jan 14, 2006 11:08 am
Re: How to make Direct Folders work inside sandbox?
I have now done it, and I do see it showing up in the "all applications" list. I have selected it (+), but it still doesn't work? Perhaps I should reboot my system.Syrinx wrote:In my testing I added it directly to the sandboxie.ini as this allows the template to be available in general ([just like my MBAE template]active for every sandbox with a generic entry like those available from the default template.ini)/eg global.
Re: How to make Direct Folders work inside sandbox?
hmm I really thought I had it, it if it showed up in the compatibility section of SBIE with a [+] (eg enabled) after adding the template, it really should have had a noticeable difference the next time you launched a new app in the sandbox [it might not do so if the program/sandbox was already in use while adding the template or refreshing the ini ] as sandboxie isn't built for live (in-use) refreshes/changes like that). Maybe it's just something I missed or it could be something on the OS side or maybe another product, a tweak? Hard to say. I only tested XP and 7 x64, so can you let me know which OS's are you using these together on so I can check it again there to see [PM is fine] how it handles in a new VM?
Goo.gl/p8qFCf
-
- Posts: 216
- Joined: Sat Jan 14, 2006 11:08 am
Re: How to make Direct Folders work inside sandbox?
You're the man, it now does work. I thought it didn't work because some apps use their own file box, and apparently Direct Folders can't control them, also not outside the sandbox. But on the standard file box it does work, so thanks again.Syrinx wrote:hmm I really thought I had it, it if it showed up in the compatibility section of SBIE with a [+] (eg enabled) after adding the template, it really should have had a noticeable difference the next time you launched a new app in the sandbox...

-
- Posts: 216
- Joined: Sat Jan 14, 2006 11:08 am
Re: How to make Direct Folders work inside sandbox?
@ Syrinx
I need your help again, because I encountered something weird. If the Direct Folders template is active, then XnView refuses to run sandboxed. In other words, when I open an image from inside the sandbox, XnView can not be started. As soon as I remove the template, all is fine again. Do you have any idea what might be causing this?
http://www.xnview.com/en/xnview/
I need your help again, because I encountered something weird. If the Direct Folders template is active, then XnView refuses to run sandboxed. In other words, when I open an image from inside the sandbox, XnView can not be started. As soon as I remove the template, all is fine again. Do you have any idea what might be causing this?

http://www.xnview.com/en/xnview/
Re: How to make Direct Folders work inside sandbox?
I'll try to take a look and see if I can figure out a resolution but my first suspicion was that it had something to do with the OpenWinClass=# line
but so far I can't reproduce the issue.OpenWinClass=#
This setting tells Sandboxie to not alter window class names created by sandboxed programs. Normally, Sandboxie translates class names such as IEFrame to Sandbox:DefaultBox::IEFrame in order to better separate windows that belong to sandboxed programs from the rest of the windows in the system.
However, in some cases, a program outside the sandbox might expect window class names to have a specific name, and therefore might not recognize the windows created by a sandboxed program. Specifying OpenWinClass=# resolves this problem, at the cost of a lesser degree of separation.
Note that OpenWinClass=# does not allow communication with any windows outside the sandbox, and may interfere with some drag-and-drop operations
Goo.gl/p8qFCf
-
- Posts: 216
- Joined: Sat Jan 14, 2006 11:08 am
Re: How to make Direct Folders work inside sandbox?
Thanks for checking, but it's really weird. It also happens in sandboxes without any restrictions. And with the "open with" feature, XnView does open, but unsandboxed. But so do all other apps, so I'm guessing this is normal behavior. I have no problems with Media Player Classic and ExtractNow, they both do open on double click of a file. It doesn't make any sense.Syrinx wrote:I'll try to take a look and see if I can figure out a resolution but my first suspicion was that it had something to do with the OpenWinClass=# line
but so far I can't reproduce the issue.
Re: How to make Direct Folders work inside sandbox?
I just re-checked trying all types of things and can't get it to show me a single issue. I had notes about other lines I had thought of adding to the template before but they didn't seem to be needed so I left them out. Maybe they'd help to get it working for you and xnview? If it still doesn't work, go ahead and revert to the other template, the less stuff opened up by it the better.
Code: Select all
[Template_DirectFolders]
Tmpl.Title=Direct Folders
Tmpl.Class=Misc
Tmpl.Scan=s
Tmpl.ScanFile=%APPDATA%\Direct Folders
OpenWinClass=$:df.exe
OpenWinClass=*DUIViewWndClassName*
OpenWinClass=*_DefView
OpenWinClass=#
Goo.gl/p8qFCf
-
- Posts: 216
- Joined: Sat Jan 14, 2006 11:08 am
Re: How to make Direct Folders work inside sandbox?
I think it will remain a mystery, with the new template it also doesn't work. I've also tried to force XnView in several sandboxes, but when both of these templates are active, SBIE will refuse to run XnView, while other apps do load correctly. I really hate these problems that don't make any sense.Syrinx wrote:I just re-checked trying all types of things and can't get it to show me a single issue. I had notes about other lines I had thought of adding to the template before but they didn't seem to be needed so I left them out. Maybe they'd help to get it working for you and xnview? If it still doesn't work, go ahead and revert to the other template, the less stuff opened up by it the better.

Who is online
Users browsing this forum: No registered users and 1 guest