Running the Windows Installation Script

NOTE: If you experience difficulties running the installation script that is supplied with Admin Mod , it is possible you either have an outdated version of the Windows Scripting Host or you do not have it installed on your computer. In either case, the latest version of Windows Scripting can be downloaded from:

 

http://msdn.microsoft.com/scripting/

 

It is also possible that your anti-virus program might warn you or prohibit you from running VBScript files such as this installer. If that is the case, you will need to disable your anti-virus software while installing Admin Mod, but be sure to re-enable it after you are done.

 

 

To install Admin Mod, you will run a friendly little VBScript that will greatly simplify the process of installing the Admin Mod. If you are used to the script that was included with version of Admin Mod 2.50, we thing you will be pleasantly surprised. The scripts come pre-compiled for you and in the correct location, just so long as the files and folders were unzipped properly.

 

 

If you do not have the script files compiled ahead of time, or if they are not in the appropriate folder (\Admin\scripting\examples), the above window will pop-up.  As explained in the window, you simply need to run the file named compile_all.bat in the \Admin\scripting\examples folder. Doing this will - of course - compile all of the scripts so they are ready to use. The image below shows the location of that folder in the Windows Explorer view.

 

 

 

Once you have the scripts compiled, run the install_admin.vbs file located in the \Admin folder. The image below shows the location of install_admin.vbs:

 

 

 

If you have a server that is set up without entering a cd key (the stand-alone dedicated server download), select cancel for the following pop-up.  If you have entered a cd key (you are using the server that came on your Half-Life or retail version of Counter-Strike CD, even if it has been upgraded), you have the choice between either option.  If you are new at this and the folder structure on your computer looks pretty much like the ones in the above images, just press OK.

 

 

 

This window will pop-up if you selected cancel in the preceding window.  If you selected OK, skip this step. This dialog asks for the directory name of the game mod you want to install to. The mod directory name depends on the mod you are hosting on your server.  If your serve is a Counter-Strike server, enter "cstrike" and if it a TFC server, enter "tfc" in this box. Other game mods will require you to enter the name of the mod-directory for your game.

 

 

 

The next one is pretty self-explanatory.  Selecting OK will allow the installer to create your users.ini file and sample adminpass.cfg file, which is nice, since that way you will have a sure-fire matching set of files. These files are described in detail later in this manual, in the Configuration section.

 

 

 

 

The next step, pictured below, will determine which server configuration you will use: Dedicated Server, or non-dedicated (also called a listen-server). Both options are described and pictured here.

 

Choose the one that fits your desired server configuration from the two options below.

 

If you create a non-dedicated server by going through the Half-Life GUI and selecting “Create” and do not check the dedicated server box, you need to enter "listenserver.cfg" in the box like this:

 

 

 

However, if you use a dedicated server (a DOS-like window opens and lots of data scrolls down when you start it), enter " server.cfg in the box pictured below:

 

 

 

Depending on your setup, you may or may not be asked for the following information:

 

 

If you click "Yes," you will see the following - It creates an adminpass.cfg file in order to set up your password automatically if you play on this computer:

 

NOTE: If you are setting up a dedicated server, this file will need to either be moved or re-created on the computer where you play the game. This file is created on your server during installation, but it is not meant to stay there, unless you are running a listen-server. Be sure to see the section about Client configuration via setinfo commands in this manual for more information.

 

 

When the installation script is done, you will see the following. Be sure to read this, as the information displayed is very important:

 

 

 

So what's Next???

 

You're not done yet! You will need to set up and configure a number of server files. You're a good made a good start, but the remaining tasks are critical. So, what are you waiting for - Let's get started!

 

Note that not every problem can be resolved in this documentation, but we suggest strongly that you look here first. If you have problems you can't solve after reading this manual - and that does happen - please ask your question in the forums at http://www.adminmod.org. Please do not email your questions to the team directly, as we cannot guarantee we will be able to respond to individual emails in a timely fashion.

 

 

Next: Setting up your .cfg and the *.ini files