## Setup

The installation just needs some manual configurations while the most part of the processes are executed by the setup file.

### STEP 1.

Unzip downloaded file.
You'll find the following folders:

    	Unzipped Folder
    	|
    	|-- myasg (it contains application files to upload on the server)
    	|-- help  (it contains help documentation files)
    	|
    	|-- readme_[language].htm (file to browse documentation files.)

It's recommended to leave unchanged the default folder structure. Renaming files or folders could create problems using application.

### STEP 1b.

In case you'd like to rename 'myasg' folder please adapt the right path also into stats_js.asp file.

### STEP 2.

Edit and adapt the connection strings to databases and skin file.

ATTENTION:
For a correct use of the application, databases need a folder with write permissions activated by webserver consolle. For higher security, browse and download permissions should be denied.
Usually, paid web hosting services provide particular folders with special access permissions or restrictions. Before continuing the installation, please check with your web host for the location of these folders.
Many free hosting services do not offer special access permissions or restrictions.
Change the following strings with the path to these folders.

These strings need to be adapted.

File includes/inc_config.asp:
- Const strAsgPathFolderDb = "mdb/" 'Change the path to your database folder
- Const strAsgPathFolderWr = "mdb/" 'Change the path to a folder with write permissions.
It could be the same path as the database folder.

File config.asp:
- Change inclusion string of the file inc_skin_file.asp (<!--#include file="../database/inc_skin_file.asp"-->) to the right path, inserting the path to the folder you specified before as strAsgPathFolderWr.

### STEP 3.

Upload the folder 'myasg' into the root of your site on the server, excluding the content of 'mdb' folder.

When the upload is complete, upload the 'mdb' folder in this way:
- databases into the folder specified on the first step (first path)
- File inc_skin_file.asp into the folder specified on the first step (second path)

### STEP 4.

Open your browser and in your address box, type the URL http://www.mysite.com/myasg/setup.asp changing www.mysite.com with the appropriate site URL.

If previous steps have been successfully completed, you will now see the setup page.
If you see an error, it will most probably be caused by an error in the database or folder path.

Carry on with the next step.