Page 11 of 14

Posted: Tue Feb 02, 2010 9:07 am
by Samuel
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

Posted: Tue Feb 02, 2010 9:36 am
by wraithdu
That last step in initialization is starting Sandboxie Control (SbieCtrl.exe). Maybe you can check for the existence of that running process.

Posted: Tue Feb 02, 2010 10:41 am
by Samuel
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.

does it work with sandboxie 3.44 Single installation EXE

Posted: Thu Feb 04, 2010 9:44 am
by mantra
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

Posted: Thu Feb 04, 2010 2:55 pm
by wraithdu
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.

Posted: Fri Feb 05, 2010 3:03 am
by mantra
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

Posted: Fri Feb 05, 2010 9:45 am
by wraithdu
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.

Running poratble FireFox w sandboxied portable

Posted: Fri Feb 26, 2010 4:54 pm
by ngong
Hi,

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

Re: does it work with sandboxie 3.44 Single installation EXE

Posted: Fri Feb 26, 2010 4:55 pm
by ngong
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

Re: Running poratble FireFox w sandboxied portable

Posted: Fri Feb 26, 2010 5:46 pm
by wraithdu
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.

Posted: Sat Feb 27, 2010 11:06 am
by ngong
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

Posted: Sat Feb 27, 2010 1:14 pm
by wraithdu
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"

licensing Q

Posted: Mon Mar 29, 2010 11:30 pm
by AlanQ
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!

Posted: Mon Mar 29, 2010 11:39 pm
by wraithdu
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.

licensing Q

Posted: Mon Mar 29, 2010 11:57 pm
by AlanQ
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!