installer/MMS_Installer.dpr
author Christian Hammacher <bmasterc@gmail.com>
Mon Dec 18 20:26:31 2006 +0000 (2006-12-18)
changeset 273 d4cdca1617c2
parent 268 dffb9ead7cfd
child 285 05c677265fbc
permissions -rw-r--r--
changed half-life 2 icon, now using vaksa's HL2 icons, thanks again!
bmasterc@126
     1
program MMS_Installer;
bmasterc@126
     2
bmasterc@273
     3
{ Metamod:Source installer is a port of the AMX Mod X installer
bmasterc@126
     4
bmasterc@126
     5
  Used components:
bmasterc@126
     6
bmasterc@126
     7
  - Indy 9 (www.indyproject.org)
bmasterc@126
     8
  - FlatStyle Components (www.torry.net)
bmasterc@126
     9
  - FlatPack Component Pack (www.torry.net)
bmasterc@126
    10
  - JVCL Lib Pack 3.0 (jvcl.sourceforge.net)
bmasterc@273
    11
bmasterc@273
    12
  Half-Life 2 Icons by Vasili "vaksa" Vorotnikov, Thanks!
bmasterc@273
    13
  Visit www.vaksa.net for further information
bmasterc@273
    14
bmasterc@126
    15
}
bmasterc@126
    16
bmasterc@126
    17
uses
bmasterc@126
    18
  Forms,
bmasterc@126
    19
  UnitfrmMain in 'UnitfrmMain.pas' {frmMain},
bmasterc@126
    20
  UnitFunctions in 'UnitFunctions.pas',
bmasterc@126
    21
  UnitfrmProxy in 'UnitfrmProxy.pas' {frmProxy},
bmasterc@126
    22
  UnitInstall in 'UnitInstall.pas',
bmasterc@126
    23
  UnitSelectModPath in 'UnitSelectModPath.pas' {frmSelectModPath},
bmasterc@126
    24
  UnitPackSystem in 'UnitPackSystem.pas';
bmasterc@126
    25
bmasterc@126
    26
{$R *.res}
bmasterc@126
    27
bmasterc@126
    28
begin
bmasterc@126
    29
  Application.Initialize;
bmasterc@126
    30
  Application.Title := 'Metamod:Source Installer';
bmasterc@126
    31
  Application.CreateForm(TfrmMain, frmMain);
bmasterc@268
    32
  UnitfrmMain.VERSION := GetVersion;
bmasterc@126
    33
  frmMain.lblWelcome.Caption := 'Welcome to the Metamod:Source ' + VERSION + ' Setup Wizard';
bmasterc@126
    34
  frmMain.lblInfo1.Caption := 'This wizard will guide you through the installation of Metamod:Source ' + VERSION + '.';
bmasterc@126
    35
  frmMain.lblSubTitle1.Caption := 'Please review the following license terms before installing Metamod:Source ' + VERSION + '.';
bmasterc@126
    36
  frmMain.lblSelectModInfo.Caption := 'Please select the mod Metamod:Source ' + VERSION + ' shall be installed to.';
bmasterc@126
    37
  frmMain.lblTitle3.Caption := 'Installing Metamod:Source ' + VERSION + ' via FTP';
bmasterc@126
    38
  frmMain.lblTitle5.Caption := 'Installing Metamod:Source ' + VERSION;
bmasterc@126
    39
  frmMain.lblSubTitle5.Caption := 'Please wait while Metamod:Source ' + VERSION + ' is being installed.';
bmasterc@126
    40
  Application.CreateForm(TfrmProxy, frmProxy);
bmasterc@126
    41
  Application.CreateForm(TfrmSelectModPath, frmSelectModPath);
bmasterc@126
    42
  Application.Run;
bmasterc@126
    43
end.