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