[Quick Guide] Setups for shaiya

03/24/2011 09:31 kheyo#1
Setups are by far more convenient than rar files. They allow to to create shortcuts, place your files in a directory and are automated. This guide will show you how to make a setup for your server's client.

What you need
- Inno Setup Compiler -> [Only registered and activated users can see links. Click Here To Register...]
- The basic Setup script -> [Only registered and activated users can see links. Click Here To Register...]

Now there may be more files in your server that youll have to add but this guide will cover how to add lines.

Download and open the script in Inno and this is what youll see

[Only registered and activated users can see links. Click Here To Register...]

The first thing you need to do is everywhere it says Shaiya change that to your server name. This way people who play multiple servers wont have installation conflicts. The highlighted areas show where exactly to change. Do NOT add spaces after the = sign

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

NOW

If your client has more files, such as gameguard, or is missing one of the files listed you need to scroll to the files list

[Only registered and activated users can see links. Click Here To Register...]

to ADD files simply copy and paste this whole line directly below the filelist, there should be NO blank space between each line

[Only registered and activated users can see links. Click Here To Register...]

and then change the filename and extension INSIDE the quotes, this is all you need to change.

[Only registered and activated users can see links. Click Here To Register...]

To build this setup you MUST save the script in your shaiya clients folder, in the same directory as your game.exe, updater, etc. This is what is referred to as Source in the script

Now click the Build menu and click Compile.

[Only registered and activated users can see links. Click Here To Register...]

It takes a long time to compile, if your not running ANYTHING else on your pc about 1.5hrs to compile everything into the package.

Your setup.exe will now appear in a new folder in your shaiya directory titled Output, open that folder and find your shiny new setup. It is a one file standard automated setup. The basic scrip creates both a start menu and desktop icon.

in the files list {app} is the default program files directory specified earlier on. So when you specify {pf}\shaiya this is where {app} points to and where your files will be installed.

Please report errors in this script to me via PM. If you need help with the script reply here.

Enjoy! :)