| author | Christian Hammacher <bmasterc@gmail.com> |
| Thu Nov 30 22:53:20 2006 +0000 (2006-11-30) | |
| changeset 268 | dffb9ead7cfd |
| parent 126 | b072ae770357 |
| child 273 | d4cdca1617c2 |
| permissions | -rw-r--r-- |
| bmasterc@126 | 1 |
program MMS_Installer; |
| bmasterc@126 | 2 |
|
| bmasterc@126 | 3 |
{ Metamod:Source installer ported from 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@126 | 11 |
|
| bmasterc@126 | 12 |
} |
| bmasterc@126 | 13 |
|
| bmasterc@126 | 14 |
uses |
| bmasterc@126 | 15 |
Forms, |
| bmasterc@126 | 16 |
UnitfrmMain in 'UnitfrmMain.pas' {frmMain}, |
| bmasterc@126 | 17 |
UnitFunctions in 'UnitFunctions.pas', |
| bmasterc@126 | 18 |
UnitfrmProxy in 'UnitfrmProxy.pas' {frmProxy}, |
| bmasterc@126 | 19 |
UnitInstall in 'UnitInstall.pas', |
| bmasterc@126 | 20 |
UnitSelectModPath in 'UnitSelectModPath.pas' {frmSelectModPath}, |
| bmasterc@126 | 21 |
UnitPackSystem in 'UnitPackSystem.pas'; |
| bmasterc@126 | 22 |
|
| bmasterc@126 | 23 |
{$R *.res} |
| bmasterc@126 | 24 |
|
| bmasterc@126 | 25 |
begin |
| bmasterc@126 | 26 |
Application.Initialize; |
| bmasterc@126 | 27 |
Application.Title := 'Metamod:Source Installer'; |
| bmasterc@126 | 28 |
Application.CreateForm(TfrmMain, frmMain); |
| bmasterc@268 | 29 |
UnitfrmMain.VERSION := GetVersion; |
| bmasterc@126 | 30 |
frmMain.lblWelcome.Caption := 'Welcome to the Metamod:Source ' + VERSION + ' Setup Wizard'; |
| bmasterc@126 | 31 |
frmMain.lblInfo1.Caption := 'This wizard will guide you through the installation of Metamod:Source ' + VERSION + '.'; |
| bmasterc@126 | 32 |
frmMain.lblSubTitle1.Caption := 'Please review the following license terms before installing Metamod:Source ' + VERSION + '.'; |
| bmasterc@126 | 33 |
frmMain.lblSelectModInfo.Caption := 'Please select the mod Metamod:Source ' + VERSION + ' shall be installed to.'; |
| bmasterc@126 | 34 |
frmMain.lblTitle3.Caption := 'Installing Metamod:Source ' + VERSION + ' via FTP'; |
| bmasterc@126 | 35 |
frmMain.lblTitle5.Caption := 'Installing Metamod:Source ' + VERSION; |
| bmasterc@126 | 36 |
frmMain.lblSubTitle5.Caption := 'Please wait while Metamod:Source ' + VERSION + ' is being installed.'; |
| bmasterc@126 | 37 |
Application.CreateForm(TfrmProxy, frmProxy); |
| bmasterc@126 | 38 |
Application.CreateForm(TfrmSelectModPath, frmSelectModPath); |
| bmasterc@126 | 39 |
Application.Run; |
| bmasterc@126 | 40 |
end. |