lazarus/tools/install/win32
vincents 8db65da9f0 win32 installer: added lazbuild
git-svn-id: trunk@9885 -
2006-09-13 18:55:29 +00:00
..
build-fpc.bat win32 installer: restructured fpc directory layout 2006-07-09 20:26:33 +00:00
build-lazarus.bat win32 installer: added lazbuild 2006-09-13 18:55:29 +00:00
create_installer.bat removed old places, where CVS was used 2006-07-12 20:11:50 +00:00
create_snapshot_installer.bat win32 installer: added lazbuild 2006-09-13 18:55:29 +00:00
editoroptions.xml Set editor font and adjust MainIDE window size. 2004-10-01 21:09:57 +00:00
environmentoptions.xml Include gdb in installer. 2004-11-24 14:26:23 +00:00
Finnish-5.1.0.isl - use innosetup 5.1 which includes Brazilian language file 2005-06-05 13:39:21 +00:00
installerstrconsts.pas localize.bat now updates installerstrconsts.*.po 2006-07-06 20:47:44 +00:00
lazarus_install_cheetah_small.bmp added small installed image form S�rgio 2005-01-10 11:41:27 +00:00
lazarus_install_cheetah.bmp added win32 install bmp 2004-12-13 23:42:48 +00:00
lazarus.iss starter: StartLazarus accepts --debug parameter: debug output will be written to debug.log file in the primary config directory (issue #1307). 2006-09-05 13:24:17 +00:00
readme.txt win32 installer: restructured fpc directory layout 2006-07-09 20:26:33 +00:00

This readme describes how to create a lazarus installation package for win32.
The creation of an installation packages consists of three steps:
A. Setup the build machine.
B. Adjust create_installer.bat to your configuration.
C. Run create_installer.bat.

A Setup the build machine.

A.1 Inno Setup
I used Inno Setup, a free installer for Windows programs. You can download it from http://www.jrsoftware.org/. 

A.2 FPC sources
The build script assumes you have a svn version of the fpc sources. For information about getting the fpc sources from svn see: http://www.freepascal.org/ 

A.3 Lazarus sources
A Lazarus svn tree, containing the lazarus sources.

A.4. The latest release of the fpc compiler
You need a fpc 2.0.2 compiler (just the ppc386.exe) to bootstrap compilation of the current fpc version.

A.5 Debugger
Download http://prdownloads.sourceforge.net/mingw/gdb-6.0-20031011.exe?download and install it in some directory. Set GDBDIR to this directory.

A.6 Translations of the GPL license
The installer is able to show its messages in multiple languages. The lazarus svn tree doesn't contain the translations of the GPL languages. Download those translations from http://www.gnu.org/licenses/translations.html and put them in a directory. At the moment the following files are needed:
http://users.skynet.be/xterm/gpld.txt
http://www.magnux.org/doc/GPL-pt_BR.txt
Not for all languages the installer can handle at the moment, there are text files on http://www.gnu.org/licenses/translations.html. For these languages the official GPL is shown.

A.7 Other binary utilities
You need some third party binary utilities, for example make, ld, strip. Download a recent binary fpc installer, and extract asldw32.zip and makew32.zip to a new directory.


B Adjust create_installer.bat to your configuration

Open the create_installer.bat in a text editor and set the LAZVERSION variable.
Check the other variables, to see if they match your configuration:
ISCC: Path to the Inno Setup Compiler
FPCSVNDIR: Path to the fpc sources checked out of svn
LAZSVNDIR: Path to the lazarus sources checked out of svn
RELEASE_PPC: Path to fpc 2.0.2 compiler
FPCBINDIR: Path to the directory containing some utilities used by fpc
GDBDIR: Path to the directory containing the mingw gdb debugger installation
BUILDDIR: Path to build directory. 
LICENSEDIR: Path to the directory containing translations of the GPL license

C Run create_installer.bat

Just do it. Wait about 40 minutes (on 2.6 GHz P-IV). A log file named installer.log will be written to the current directory.