Unfortunatly none of them contain answeres, only links to more and more discussion.
In one of those avih posted the bug link <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=211628#c3">BUG #211628</a> where he has an answer.
I've done it, and now succesfully have Firebird 0.7 running completely off my 128 PNY USB memory stick

I've decided to re-post this here, so others who have been looking for this can easily find it.
1. create your sandbox directory (i.e. d:\sandbox\px-0.6). we'll consider it as
<sandbox>.
2. inside it, create a folder named "Application Data" the name must be exact.
3. in your sandbox directory, put the bin directory of the application
(mozilla/mozillafirebird).
4. put this batch file inside your sandbox dir as well (change myAppName to your
actual executable name, and myRoothPath to your root sandbox dir).
you get this:
<sandbox>\run.bat
<sandbox>\Application Data (should be created empty prior to running the batch file)
<sandbox>\bin (this is the actual directory of the application.
here's my (winXP) batch file. i'm not sure how it will work on other windows
versions.
rem directory 'Application Data' MUST be created prior to running this file.
rem not creating the 'Application Data' will result in c:\windows\phoenix and
c:\windows\mozilla created
rem the name 'Application Data' MUST NOT be changed. it's expected exactly with
this name.
set myAppName=phoenix.exe
set myRootPath=D:\tmp-extract\sandbox\px-04-mar
set USERPROFILE=%myRootPath%
set APPDATA=%USERPROFILE%\Application Data
start %USERPROFILE%\bin\%myAppName% %1 %2 %3
hope it helps.
cheers
avih
Here is my batch file:
Code: Select all
run.bat
=========
set myRootPath=E:\MozillaFirebird\Firebird0.7
set USERPROFILE=%myRootPath%
set APPDATA=%USERPROFILE%\Application Data
if exist "bin\mozilla.exe" start %USERPROFILE%\bin\mozilla.exe %1 %2 %3
if exist "bin\MozillaFirebird.exe" start %USERPROFILE%\bin\mozillafirebird.exe %1 %2 %3
Enjoy!
*NOTE* this only works if you are running FB under an OS with your same languages.
i.e. I tried it on my GF's laptop with WindowsXP in spanish, and it created a new profile due to the different location for
"Aplication Data" --> "Datos de Aplicaciones".