<< | Page list | >>
This page describes how to create a portable installation under Windows. This can then be used from a USB stick or a network drive without installing any software.
Utilities for image conversion may not work.
The best way to install a portable version is to try the portable installer packages listed under "Alternatives" (at the bottom).
If you require LyX 2.0, try "Portable LyX" or "LyTex".
If you require the latest version of LyX, try the "LyTex" installer below. The installer gives you the option to upgrade to the latest LyX after installing version 2.0. Otherwise, try the "Installation" steps listed below.
For this installation, I used the following software
The goal is to get LyX and LaTeX running without the need to install them first. This also includes the software bundled with LyX, but it does not include a PDF viewer.
Free up space
You can free up some space by deleting all the files that you don't need from
Documentation of MiKTeX packages
Fresh install: 560MB on disk (FAT32)
Windows 7 new taskbar let's you pin applications to your taskbar. If you're working at a specific computer for a longer period and want to use your portable lyx, you might want to pin lyx to the taskbar. But remember that by doing so, you'll start lyx directly without setting the userdir, like in the startLyX.bat file.
To overcome this, make two more batch scripts in
xcopy "userdir" "%appdata%\LyX2.0" /E /K /Y /I echo "Done" pause
xcopy "%appdata\LyX2.0" "userdir" /E /K /Y /I echo "done" pause
With these two files you can copy your settings from and to the local computer.
Using RCS version control with portable LyX
The following tweaks come from a portable installation with LyX 1.6. I'm not sure if this is still applicable to LyX 2.0, but I leave it here.
A portable TeX suite called LyTeX, that includes TeX Works, TeX Live, and LyX (various versions, including 1.6 and 2.0) here:
http://code.google.com/p/lytex/ (about 400-500mb extracted)
Portable LyX 2.0 is a repack of LyTeX with LyX 2.0 available here:
http://sourceforge.net/projects/portable-lyx-20/ (about 700-800MB extracted)
A fully-functioning Tex distribution designed for a USB stick is available here: http://www.exomatik.net/U-Latex/USBTeXEnglish (525MB extracted)
I have tested USBTeX with LyX 1.6.2 and can report that is working well without Admin Rights.