This is a tool and a guide to install and run Lazarus on a memory disk or stick so that it can be used on every Windows PC, where Lazarus would work as a normal secondary installation, without modifications.

Andreas Jakobsche
2 min readJun 29, 2018

Technical requirements

  • PC with i386 compatible CPU
  • Windows SE
  • No drive K: or write permission on drive K: during the installation

Hint: If you want to be mobile with your projects but without a computer, use a USB hard drive and add your projects in a separate directory near the Lazarus directory!

Installation

  1. Unpack the file portablelazarus.zip, to get the program file portablelazarus.exe!
  2. Copy the file portablelazarus.exe to a memory stick, that is big enough to store a secondary Lazarus installation additionally!
  3. Execute that copy of portablelazarus.exe! Independent on error messages, this step was successfully, when a drive K: is found in Windows Explorer.
  4. Get a Lazarus installation file and install Lazarus on drive K: as secondary installation! Skip the creation of a desktop icon and a start menu item! Install Lazarus in the directory K:/lazarus! Use K:\laz_conf as configuration directory!

Portable usage

After the previous installation procedure Lazarus can run without further installation steps on every compatible Windows computer immediately from the mobile drive. For that, run the program portablelazarus.exe from the mobile drive. portablelazarus.exe cares for that Lazarus finds always a compatible Environment and starts the IDE then. Changes being done by portablelazarus.exe, disappear at the end of the current Windows session.

--

--

Andreas Jakobsche

Object Pascal, Free Pascal, Lazarus, Rapid Application Development, Rapid Prototyping, Raspberry Pi, TwinCAT, CoDeSys