installer/MMS_Installer.dpr
branchsourcemm-1.6.0
changeset 347 e82968c21606
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/installer/MMS_Installer.dpr	Tue Sep 18 20:03:47 2007 +0000
     1.3 @@ -0,0 +1,72 @@
     1.4 +program MMS_Installer;
     1.5 +
     1.6 +{
     1.7 +
     1.8 +  Metamod:Source installer is published under the zlib/libpng license, as well
     1.9 +  as Metamod:Source itself. You can find a copy of it below.
    1.10 +
    1.11 +  ---------
    1.12 +
    1.13 +  zLib/libpng License
    1.14 +
    1.15 +  Copyright (c) 2007, Metamod:Source Development Team
    1.16 +
    1.17 +  This software is provided 'as-is', without any express or implied warranty.
    1.18 +  In no event will the authors be held liable for any damages arising from the
    1.19 +  use of this software.
    1.20 +
    1.21 +  Permission is granted to anyone to use this software for any purpose,
    1.22 +  including commercial applications, and to alter it and redistribute it freely,
    1.23 +  subject to the following restrictions:
    1.24 +
    1.25 +    1. The origin of this software must not be misrepresented; you must not
    1.26 +    claim that you wrote the original software. If you use this software in a
    1.27 +    product, an acknowledgment in the product documentation would be appreciated
    1.28 +    but is not required.
    1.29 +
    1.30 +    2. Altered source versions must be plainly marked as such, and must not be
    1.31 +    misrepresented as being the original software.
    1.32 +
    1.33 +    3. This notice may not be removed or altered from any source distribution.
    1.34 +
    1.35 +  ---------
    1.36 +
    1.37 +  Used components:
    1.38 +
    1.39 +  - Indy 9 (www.indyproject.org)
    1.40 +  - FlatStyle Components (www.torry.net)
    1.41 +  - FlatPack Component Pack (www.torry.net)
    1.42 +  - JVCL Lib Pack 3.0 (jvcl.sourceforge.net)
    1.43 +
    1.44 +  Half-Life 2 Icons by Vasili "vaksa" Vorotnikov, Thanks!
    1.45 +  Visit www.vaksa.net for further information
    1.46 +
    1.47 +}
    1.48 +
    1.49 +uses
    1.50 +  Forms,
    1.51 +  UnitfrmMain in 'UnitfrmMain.pas' {frmMain},
    1.52 +  UnitFunctions in 'UnitFunctions.pas',
    1.53 +  UnitfrmProxy in 'UnitfrmProxy.pas' {frmProxy},
    1.54 +  UnitInstall in 'UnitInstall.pas',
    1.55 +  UnitSelectModPath in 'UnitSelectModPath.pas' {frmSelectModPath},
    1.56 +  UnitPackSystem in 'UnitPackSystem.pas';
    1.57 +
    1.58 +{$R *.res}
    1.59 +
    1.60 +begin
    1.61 +  Application.Initialize;
    1.62 +  Application.Title := 'Metamod:Source Installer';
    1.63 +  Application.CreateForm(TfrmMain, frmMain);
    1.64 +  UnitfrmMain.VERSION := GetVersion;
    1.65 +  frmMain.lblWelcome.Caption := 'Welcome to the Metamod:Source ' + VERSION + ' Setup Wizard';
    1.66 +  frmMain.lblInfo1.Caption := 'This wizard will guide you through the installation of Metamod:Source ' + VERSION + '.';
    1.67 +  frmMain.lblSubTitle1.Caption := 'Please review the following license terms before installing Metamod:Source ' + VERSION + '.';
    1.68 +  frmMain.lblSelectModInfo.Caption := 'Please select the mod Metamod:Source ' + VERSION + ' shall be installed to.';
    1.69 +  frmMain.lblTitle3.Caption := 'Installing Metamod:Source ' + VERSION + ' via FTP';
    1.70 +  frmMain.lblTitle5.Caption := 'Installing Metamod:Source ' + VERSION;
    1.71 +  frmMain.lblSubTitle5.Caption := 'Please wait while Metamod:Source ' + VERSION + ' is being installed.';
    1.72 +  Application.CreateForm(TfrmProxy, frmProxy);
    1.73 +  Application.CreateForm(TfrmSelectModPath, frmSelectModPath);
    1.74 +  Application.Run;
    1.75 +end.