How to Make WebRunner Portable
A couple days ago I mentioned WebRunner, the chrome-less browser from Mozilla that lets you run web applications like Gmail and others as if they were stand alone applications. They are still on-line, just in their own distraction free window. I thought it might be interesting to see if the functionality could be ported over to a portable USB thumb drive. Turns out it really isn’t very hard.
First you need to download WebRunner if you don’t have it already. You will need to run the install but you don’t have to actually launch anything.
Next you need a USB drive. I use a ‘thumb’ drive. If you want you can just create a directory to simulate the thumb drive then move everything over once you get it all set. Plug in your drive to an empty USB port. For this example I am going to say the thumb drive presents itself as drive letter z: on your system. Yours will probably be different.
In the thumb drive you need to copy the whole c:\Program Files\WebRunner to the root of your thumb drive. So in this example you will have a new directory on the thumbdrive z:\WebRunner. If you want you can now uninstall WebRunner from your system. It is up to you.
Now is where it gets slightly tricky. You can’t use the short cuts that were created when you installed WebRunner because they point to a certain drive letter. If your move your USB drive the letter is sure to change. The trick I use it to create a batch file to accomplish the same thing as the short cut. Starting with Gmail, again in the root of your USB drive, create a batch file called start_gmail.bat in there put:
WebRunner\webrunner.exe -webapp WebRunner\gmail.webapp
save the batch file. You can create similar batch files to launch Google Docs by creating another batch file called start_docs.bat and editing the above to read:
WebRunner\webrunner.exe -webapp WebRunner\gdocs.webapp
Working with Local HTML files
One of the great uses of WebRunner is in conjunction with a local HTML file such as TiddlyWiki or one of it’s excellent derivatives, D3 or (the one I use) MonkeyGTD.
For this I have another folder on the root of my USB drive called MonkeyGTD. Inside that folder I have an html file called monkey.html. Calling this is just a little trickier because it is a File URL. I created another batch file in the root of my USB drive called start_tw.bat. In that batch file I put
WebRunner\webrunner.exe -uri file:///”%~dp0/MonkeyGTD/”monkey.html
A similar method can be used if you want to have a different web app such as NewsHutch be stand alone:
WebRunner\webrunner.exe -uri http://newshutch.com
If you followed all of the above you should have a drive that looks something like this:
Hopefully these tips were helpful to someone wanting to do this same thing. Let me know if you have done something different with WebRunner or your USB drive.
Similar Posts
- None Found
(The below is in regards to Windows, I don’t know about the Linux or Mac versions)
I did this a while ago with WebRunner, and it works for Firefox, SeaMonkey, etcetera in the same way. However, that being said, for it to be truly portable, the profile location has to be called out as well, and the run switch becomes rather long.
The other thing is that this is still not a “leaves no track” portable installation either, even with specifying the profile location. WebRunner creates a WebRunner folder in %user%\documents & settings\Application Data\
All it is (when using a command switch) is a profile.dat file.
Now, this all being said, there may be a cleaner way to do this that is truly portable, but I don’t know.
Thanks Ian. I have made some true portable apps like you describe so I’ll look into it a bit further. I hadn’t thought to look for the profile folder.
Try using an app called X-Launcher. It allows you to run just about any application portably. This is a good stop-gap measure until someone creates a smaller portable version of a launcher. I list seven steps on how to use it to run WebRunner here:
http://www.luckydisasters.com/2007/10/16/how-to-7-steps-to-making-webrunner-portable/
There are still a couple of oddities with X-Launcher that I haven’t figured out yet, but I really haven’t dug very deep into the config file yet. I’ve played with it just enough to get it working.
If you find any problems or spot any improvements you’d make to my process let me know, I’m always looking for an easier way to do things…
Enjoy!
[...] vez lo mejor es que permite ejecutar una webapp, y si lo conseguimos hacer portable, tendremos una manera de ejecutar aplicaciones web en local sin la necesidad de instalar un [...]