installer/MMS_Installer.dpr
author Pavol Marko <pavolmarko@gmail.com>
Sun Oct 21 21:55:17 2007 +0000 (2007-10-21)
branchhookman_autogen
changeset 433 a2d986ddd522
parent 285 05c677265fbc
permissions -rw-r--r--
Changed license in sourcehook_hookmangen_x86.h (agreed to by BAILOPAN and faluco)
Updated MSVC7 proj file
bmasterc@126
     1
program MMS_Installer;
bmasterc@126
     2
bmasterc@285
     3
{
bmasterc@285
     4
bmasterc@285
     5
  Metamod:Source installer is published under the zlib/libpng license, as well
bmasterc@285
     6
  as Metamod:Source itself. You can find a copy of it below.
bmasterc@285
     7
bmasterc@285
     8
  ---------
bmasterc@285
     9
bmasterc@285
    10
  zLib/libpng License
bmasterc@285
    11
bmasterc@285
    12
  Copyright (c) 2007, Metamod:Source Development Team
bmasterc@285
    13
bmasterc@285
    14
  This software is provided 'as-is', without any express or implied warranty.
bmasterc@285
    15
  In no event will the authors be held liable for any damages arising from the
bmasterc@285
    16
  use of this software.
bmasterc@285
    17
bmasterc@285
    18
  Permission is granted to anyone to use this software for any purpose,
bmasterc@285
    19
  including commercial applications, and to alter it and redistribute it freely,
bmasterc@285
    20
  subject to the following restrictions:
bmasterc@285
    21
bmasterc@285
    22
    1. The origin of this software must not be misrepresented; you must not
bmasterc@285
    23
    claim that you wrote the original software. If you use this software in a
bmasterc@285
    24
    product, an acknowledgment in the product documentation would be appreciated
bmasterc@285
    25
    but is not required.
bmasterc@285
    26
bmasterc@285
    27
    2. Altered source versions must be plainly marked as such, and must not be
bmasterc@285
    28
    misrepresented as being the original software.
bmasterc@285
    29
bmasterc@285
    30
    3. This notice may not be removed or altered from any source distribution.
bmasterc@285
    31
bmasterc@285
    32
  ---------
bmasterc@126
    33
bmasterc@126
    34
  Used components:
bmasterc@126
    35
bmasterc@126
    36
  - Indy 9 (www.indyproject.org)
bmasterc@126
    37
  - FlatStyle Components (www.torry.net)
bmasterc@126
    38
  - FlatPack Component Pack (www.torry.net)
bmasterc@126
    39
  - JVCL Lib Pack 3.0 (jvcl.sourceforge.net)
bmasterc@273
    40
bmasterc@273
    41
  Half-Life 2 Icons by Vasili "vaksa" Vorotnikov, Thanks!
bmasterc@273
    42
  Visit www.vaksa.net for further information
bmasterc@273
    43
bmasterc@126
    44
}
bmasterc@126
    45
bmasterc@126
    46
uses
bmasterc@126
    47
  Forms,
bmasterc@126
    48
  UnitfrmMain in 'UnitfrmMain.pas' {frmMain},
bmasterc@126
    49
  UnitFunctions in 'UnitFunctions.pas',
bmasterc@126
    50
  UnitfrmProxy in 'UnitfrmProxy.pas' {frmProxy},
bmasterc@126
    51
  UnitInstall in 'UnitInstall.pas',
bmasterc@126
    52
  UnitSelectModPath in 'UnitSelectModPath.pas' {frmSelectModPath},
bmasterc@126
    53
  UnitPackSystem in 'UnitPackSystem.pas';
bmasterc@126
    54
bmasterc@126
    55
{$R *.res}
bmasterc@126
    56
bmasterc@126
    57
begin
bmasterc@126
    58
  Application.Initialize;
bmasterc@126
    59
  Application.Title := 'Metamod:Source Installer';
bmasterc@126
    60
  Application.CreateForm(TfrmMain, frmMain);
bmasterc@268
    61
  UnitfrmMain.VERSION := GetVersion;
bmasterc@126
    62
  frmMain.lblWelcome.Caption := 'Welcome to the Metamod:Source ' + VERSION + ' Setup Wizard';
bmasterc@126
    63
  frmMain.lblInfo1.Caption := 'This wizard will guide you through the installation of Metamod:Source ' + VERSION + '.';
bmasterc@126
    64
  frmMain.lblSubTitle1.Caption := 'Please review the following license terms before installing Metamod:Source ' + VERSION + '.';
bmasterc@126
    65
  frmMain.lblSelectModInfo.Caption := 'Please select the mod Metamod:Source ' + VERSION + ' shall be installed to.';
bmasterc@126
    66
  frmMain.lblTitle3.Caption := 'Installing Metamod:Source ' + VERSION + ' via FTP';
bmasterc@126
    67
  frmMain.lblTitle5.Caption := 'Installing Metamod:Source ' + VERSION;
bmasterc@126
    68
  frmMain.lblSubTitle5.Caption := 'Please wait while Metamod:Source ' + VERSION + ' is being installed.';
bmasterc@126
    69
  Application.CreateForm(TfrmProxy, frmProxy);
bmasterc@126
    70
  Application.CreateForm(TfrmSelectModPath, frmSelectModPath);
bmasterc@126
    71
  Application.Run;
bmasterc@126
    72
end.