Second Life on a Flash Drive

This will enable students at Penn State using public labs to run SL, keep up with the frequent updates, etc.

You must save this batch script. A batch script is just a text file, so you can copy this script into any editor and save it as RunSL.bat:

(NOTE: This file is attached to this post as RunSL.txt. You can download it and then you MUST rename it RunSL.bat. Or, you can just copy and paste this script into any word processor that can save files as text files. Make sure you save it as a text file, but name it RunSL.bat)

: This script will launch Second Life.

: When SL is closed, it will delete temp directories that cause PSU Lab problems.

: For this script to work, the folder containing the Second Life application

: (SecondLife) must be in the same directory as this script. 

@ECHO OFF

ECHO Please leave this window open.

ECHO IGNORE ANY "Profile Storage Space" MESSAGES YOU SEE!

ECHO Now launching Second Life...

ECHO. PAUSE CD /d %~dp0 CD SecondLife

START /wait SecondLife.exe

RMDIR /q /s "%APPDATA%\SecondLife"

ECHO.

ECHO Second Life is closing. Now cleaning up your temp files...

ECHO.

PAUSE

CLS

EXIT

 

Student directions: The batch script named RunSL.bat will launch Second Life when you launch it. When SL is closed, it will delete the SecondLife temp directory that is stored on the C: drive in the Documents and Settings folder. This will keep the PSU labs at UP from forcing the user to manually delete these files, as the user's file storage space quota is exceeded when Second Life runs. Second Life runs fine without these temp files.

For this script to work, the folder containing the Second Life application (SecondLife) must be in the same directory as this script. You cannot change the name of the Second Life folder, or the names of anything inside the Second Life folder.

If you are running this off a Flash drive, install Second Life (download the software from http://secondlife.com) directly onto the Flash drive (~70MB), copy this script onto the Flash drive in the same directory, and run this script to launch Second Life.

The Second Life application is frequently updated, and most of these updates are mandatory. If you launch Second Life and must update it, please follow the directions Second Life provides. Make sure you have enough free space on your Flash drive (~100MB) to perform a successfull update.

Note: these directions are attached to this post as Running Second Life from a Flash Drive.txt . You can download these directions and keep them for reference.

AttachmentSize
Running Second Life from a Flash Drive.txt2.37 KB
RunSL.txt (rename to RunSL.bat)623 bytes

Comments

Great articale Thank you

Great articale Thank you .

Software Download 

           

Free download

            

Software Review

 

SL registy nodes other then

SL registy nodes other then current user after initial install:

classes_root
secondlife
defaulticon
(contains the SecondLife.exe path)
shell
open
Command
(contains the SecondLife.exe path)
Local_Machine
Software
Linden Research, Inc.
SecondLife
(contains the SL directory)
(contains the exe file name SecondLife.exe)
(empty)
(contains the shortcut name)
(contains the version number)

You may find that different

You may find that different levels of updates act differently. It has been my experience that some levels of updates validate user access to system files and some do not check?

Second Life does have Local

Second Life does have Local Machine registry entries including the version number. The version is verified at launch from this registry node if it exists. If it does not exist an update is performed and SL will write these registry nodes.

so... I'm waitinf for my

so... I'm waitinf for my download to finish - but I HAVE tried this before without success. Can anyone insure me that this way will work?

also, how about on a mac? what if i want to take it to a mac computer? I don't think you can use .bat files on those.

Brett, can I quote your 'how

Brett, can I quote your 'how to run SL on a flash drive" info for a workshop that the TCC Online Conference is giving April 3 and 4? Thanks!
Ilene (Ilene Pratt on SL)

I don't believe that it

I don't believe that it does, but I'm not sure.

uhh.... does secondlife

uhh.... does secondlife write to the registry?

[...] the fact it was

[...] the fact it was running on a USB stick, it worked better! Jonathan has also pointed me to a post on Penn State Virtual Worlds blog, which uses a .bat file to tidy up afterwards. I’ve just added that, and it still seems to [...]

That script looks like you

That script looks like you may be on the right track. I'm just stopping by from the etherweb and don't expect to be back, so in case you run into major stumbling blocks in your project I wanted to share a bit of info I just learned myself today in a quest for second life on a flash drive.

There is a program called MojoPac which (as far as i understand) runs a parallel instance of windows somehow, not like a virtual machine though, its using the files and such already active on the computer. no ram hit really. So your personal folders and cache and such are all on the flashdrive transparent to the computer.

It works for gaming too, so as long as you have the space on your flash drive you could run any current day game (call of duty 3, HalfLife, etc) so second life is no problem either.

In addition to flash drives it also works with ipods, usb hdd, basically any usb 2 file system.

30 day trial is there too, so you can check it out without chucking money at them. unfortunately it does cost 40 bucks for a license, but in the 2 hours i have put into it so far, i think its probably a good enough price.

feel free to delete this message if you want. advertising for them is not my goal, just wanted to share since i was trying to figure out the same thing earlier today.

This is cool, I've been

This is cool, I've been looking for a way to distribute a live client to people without them needing to install.

Thanks!