Page 1 of 1

How to make oXygen XML PORTABLE?

Posted: Fri Nov 16, 2007 3:02 am
by redfox
I would like to use my installation of oXygen freely portable (USB flash drive etc.), because I need to present source codes in oXygen during presentations in different academic environments, where this software is not installed and user/host rights do not allow to install anything.
I tried to copy the installed application to the flash drive, but it refuses to run from it (it probably needs some local files or registry settings to run).
How to solve this problem? Can you give me an advice? Thanks.

Posted: Fri Nov 16, 2007 4:26 pm
by sorin_ristache
Hello,

oXygen reads the license key and the user preferences at startup from a subfolder of the user home folder. You have to set the user.home property to a folder located on the USB flash drive and to map the flash drive always to the same mount point (Linux, Mac OS X) / drive letter (Windows) when you do the presentations. You set the property with a parameter

Code: Select all

-Duser.home=/custom/home/folder
that you set in the startup script. oXygen will create the com.oxygenxml folder in /custom/home/folder when you run it the first time from the flash drive. You should mount the flash drive on your computer first and run oXygen with this parameter from the flash drive for initializing the custom home folder.


Regards,
Sorin

Posted: Fri Nov 16, 2007 8:35 pm
by redfox
Thank you very mich, it works.