SandboxiePortable **NEW THREAD**

Utilities designed for use with Sandboxie
Samuel
Posts: 2
Joined: Tue Feb 02, 2010 9:00 am

Post by Samuel » Tue Feb 02, 2010 9:07 am

Hi,

I am trying to write a batch file to be put in Send To that when SBP has started Sandboxie, executes the program to be started via commandline, if sbp has not been started starts sandboxie and then after sb is up executes the program to be sandboxed.

My difficulty is how do I check that sb is fully up and running when starting it via sbp.

Could you help?

Here is the batch:

Code: Select all

if exist "c:\Apps\SandboxiePortable\App\Sandboxie\Start.exe" goto verification
start "SBPortable" C:\Apps\SandboxiePortable\SandboxiePortable.exe
:Verification
if exist "c:\Apps\SandboxiePortable\App\Sandboxie\Start.exe" (
start "SB" c:\Apps\SandboxiePortable\App\Sandboxie\Start.exe %1
goto exit
) ELSE (
goto verification
)
pause
:exit
exit
Regards,

Samuel

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Tue Feb 02, 2010 9:36 am

That last step in initialization is starting Sandboxie Control (SbieCtrl.exe). Maybe you can check for the existence of that running process.

Samuel
Posts: 2
Joined: Tue Feb 02, 2010 9:00 am

Post by Samuel » Tue Feb 02, 2010 10:41 am

OK thank you here is the finished batch to be put into SendTo folder for use with SBP:

Code: Select all

:: Use process viewer clu at http://www.teamcti.com/pview/prcview.htm  to check if SB is active
pv.exe SbieCtrl.exe >nul
if ERRORLEVEL 1 goto sbpstart
if ERRORLEVEL 0 goto execute
:sbpstart
start "SBPortable" C:\Apps\SandboxiePortable\SandboxiePortable.exe
:: pv checks every 0.5sec and waits until process is active
 pv -r0 -d500 SbieCtrl.exe >nul
:Execute
start "SB" c:\Apps\SandboxiePortable\App\Sandboxie\Start.exe /box:DefaultBox %1
goto exit
:exit
exit
Best to make batch file execute minimized.

mantra

does it work with sandboxie 3.44 Single installation EXE

Post by mantra » Thu Feb 04, 2010 9:44 am

wraithdu wrote:the new version
Hi
does sandboxie portable work with 3.44?
the new installation program now include the 32 and 64bit

i mean how can i update my portable version ?
thanks

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Thu Feb 04, 2010 2:55 pm

Should be the same procedure as before. The installer switches are silently passed to the correct internal installer. It should be totally transparent to you, the user.

mantra

Post by mantra » Fri Feb 05, 2010 3:03 am

wraithdu wrote:Should be the same procedure as before. The installer switches are silently passed to the correct internal installer. It should be totally transparent to you, the user.
did you test it?
does it work

thanks

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Fri Feb 05, 2010 9:45 am

Nope, at this point I have SB installed on all my computers, so I can't test without some extra work. If you have a problem, let me know and I'll look into it.

ngong
Posts: 3
Joined: Fri Feb 26, 2010 4:50 pm

Running poratble FireFox w sandboxied portable

Post by ngong » Fri Feb 26, 2010 4:54 pm

Hi,

How do I make sandboxie portable to run another portable program (in my case portable FireFox) from a USB drive?

ngong
Posts: 3
Joined: Fri Feb 26, 2010 4:50 pm

Re: does it work with sandboxie 3.44 Single installation EXE

Post by ngong » Fri Feb 26, 2010 4:55 pm

mantra wrote:
wraithdu wrote:the new version
Hi
does sandboxie portable work with 3.44?
the new installation program now include the 32 and 64bit

i mean how can i update my portable version ?
thanks
It works fine, I tested that

Simple, use the updater feature of sandboxie portable

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Re: Running poratble FireFox w sandboxied portable

Post by wraithdu » Fri Feb 26, 2010 5:46 pm

ngong wrote:Hi,

How do I make sandboxie portable to run another portable program (in my case portable FireFox) from a USB drive?
Huh? This is not a launcher for any other programs. You need to find your own solution to that problem.

ngong
Posts: 3
Joined: Fri Feb 26, 2010 4:50 pm

Post by ngong » Sat Feb 27, 2010 11:06 am

Good morning wraithdu :)

Maybe I didn't make myself clear so let me ask the question in a different way: Sandboxie has a shortcut to launch a sandboxed (default) browser directly from C drive, how do I adapt that to a portable browser which resides on a USB?

"C:\Program Files\Sandboxie\Start.exe" default_browser

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Sat Feb 27, 2010 1:14 pm

Again, that's got nothing to do with this project really, but...

You need your own script/shortcut/launcher that resides on your USB drive and can utilize relative paths so you can launch your browser -

"..\..\rel\path\to\Start.exe" "..\..\rel\path\to\browser.exe"

AlanQ

licensing Q

Post by AlanQ » Mon Mar 29, 2010 11:30 pm

Hello everyone, and good work wraithdu!

I was wondering about using this, but have trouble understanding the licensing issues.
If i take it to work, what kind of license do i need? What if i take it to a friends PC? Does it matter if it's work related or not?
I'm guessing a personal license doesn't cut it somehow, as it is tied to HW that i personally own, even if the USB is mine. SBIE does get temporarily installed on the PC, and even if it magically didn't, its resources would be used.
I've almost made the decision to buy a license and contribute to Tzuk, just want to clear this. Been a fan for years!

So, what kind of license do i need? My boss acquiring one is out of the question, this is basically for personal use, indirectly related to work (when i actually use/need it at work).

:?

TIA any kind soul, or Tzuk!

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Mon Mar 29, 2010 11:39 pm

These are questions for tzuk. My launcher has an open license. But Sandboxie can only be registered with your license key on hardware you own. Even after uninstallation / closing the portable version, the license information remains in the registry forever. However you can use Sandboxie in its free unregistered form wherever you wish.

AlanQ

licensing Q

Post by AlanQ » Mon Mar 29, 2010 11:57 pm

wraithdu wrote:These are questions for tzuk. My launcher has an open license. But Sandboxie can only be registered with your license key on hardware you own. Even after uninstallation / closing the portable version, the license information remains in the registry forever. However you can use Sandboxie in its free unregistered form wherever you wish.
So i could use the unregistered version? Curious. It doesn't make much sense to me a priori, but Tzuk must have some reasoning.
Why does the license info stay? Not that it makes much difference note, but..

BTW thanks for the reply!

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests