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