Portable Vuze
From VuzeWiki
The standard Vuze installation process is aligned with the operating system's approach to maintaining applications. On Windows this means that the program binaries are installed in the 'Program Files' directory on the system drive, and per-user state (such as torrent files and downloaded data) stored in user-specific locations (somewhere in 'Documents and Settings' for each user).
While this works perfectly well for most users it doesn't work well for users that want to install Vuze on portable media (for example a USB drive) and keep the installation separate from the OS.
While it is currently possible (for versions prior to 4.7.0.1_B07) to use configuration switches to make Vuze run from a separate directory the main issue is that the portable media's drive letter can change when it is remounted. Previously this would break Vuze as it stored absolute references to these files and therefore the files would appear to be missing when the letter changed.
For Windows users only a simple approach to setting up such a portable installation is being tested (contact parg@users.sourceforge.net if an alternative OS implementation is of interest). A new configuration option is available that tells Vuze to treat the installation as portable. It is important to note that the level of portability supported is limited to the changing of the installation's drive letter only (for example D:\Azureus to E:\Azureus), it does not allow arbitary movement of the installation's location (e.g. moving it from D:\MyAzureus to D:\YourAzureus)
To set up a portable Windows installation do the following:
- ) Install Vuze as usual (in general into C:\Program Files\Vuze)
- ) Identify the install location on your portable device (let's call this V:\Programs\Vuze)
- ) Copy all of the files from C:\Program Files\Vuze into V:\Programs\Vuze
- ) Add the new -Dazureus.portable.enable=true option to your startup script. The easiest way to do this is to create an 'Azureus.exe.vmoptions' in V:\Programs\Vuze. Here is example content:
-include-options ${APPDATA}\Azureus\java.vmoptions
-Dazureus.portable.enable=true
- ) Launch by executing V:\Programs\Vuze\Azureus.exe
For things to work as expected you will need to keep everything that you store on the portable device in the '\Programs\Vuze' directory (including the downloads themselves). If you move anything outside of here then it will not be remapped when the drive letter changes.
