lazarus/tools/install/win
vincents 98452cf204 windows installer:
* install utils for binw64 on win64
* copy gdbdir only on win32

git-svn-id: trunk@11458 -
2007-07-10 12:43:29 +00:00
..
build-cross.bat win32 cross installer: fixed setting source os 2007-04-02 18:05:37 +00:00
build-fpc.bat win installer script: fixed typo, that is exposed when there is no patch file 2007-07-01 19:44:11 +00:00
build-lazarus.bat windows installer: correctly detect when running on win32, used to include gtk2 and qt widget interface units 2007-04-23 20:18:41 +00:00
create_installer.bat windows installer: 2007-07-10 12:43:29 +00:00
editoroptions.xml installers: renamed win32 directory to win, because it contains win64 installer scripts too. 2007-02-14 21:21:17 +00:00
environmentoptions-win32.xml win installer: win64 has no (gdb) debugger (bug #8306) 2007-02-14 22:42:21 +00:00
environmentoptions-win64.xml win installer: win64 has no (gdb) debugger (bug #8306) 2007-02-14 22:42:21 +00:00
Finnish-5.1.0.isl installers: renamed win32 directory to win, because it contains win64 installer scripts too. 2007-02-14 21:21:17 +00:00
installerstrconsts.pas windows installer: use inno setup localized messages about file associations (bug #8516) 2007-03-18 21:22:03 +00:00
lazarus_install_cheetah_small.bmp installers: renamed win32 directory to win, because it contains win64 installer scripts too. 2007-02-14 21:21:17 +00:00
lazarus_install_cheetah.bmp installers: renamed win32 directory to win, because it contains win64 installer scripts too. 2007-02-14 21:21:17 +00:00
lazarus-cross.iss win32 cross installer: fixed setting source os 2007-04-02 18:05:37 +00:00
lazarus.iss + added patch for the fixes branch with fixes for mulitple resources (e.g. version info and manifest) and nested checksynchronize (bug #9068 and #9079) 2007-06-23 21:07:12 +00:00
readme.txt win32 installer: updated readme.txt 2007-03-18 17:56:21 +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.4 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.


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. 

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.