• Vote in November Mapping Competition to select a winner!
  • There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Create installer for your client

oen432

Excellent OT User
Joined
Oct 3, 2014
Messages
951
Solutions
35
Reaction score
875
Location
Poland
GitHub
Oen44
Instead of providing your server client as a archive, take it to next level and make a proper installer. Not only it looks more professional but allows users for better client management (own folder, uninstaller, desktop and start menu shortcuts etc.).

  1. Download innosetup-6.0.5.exe from Inno Setup
  2. Install and launch, you will see this window
  3. Select Create a new script file using the Script Wizard and press OK
  4. Press Next until you get to this screen
  5. Fill inputs and press Next
    • Application name - this will mostly decide how shortcuts will be named
    • Application version - start with 1.0, whenever you make new installer, increase by 0.1
    • Application publisher - your server name
    • Application website - your server website
  6. This should be your next screen, I recommend to only change Application folder name (preferably to the same as Application name in previous step), press Next
  7. This screen is the most important, that's where you select your client files
    1. Click on Browse... button and select your client executable file (e.g. otclient.exe)
    2. Click on Add file(s)... and select all files (without folders and WITHOUT .exe) that are next to your .exe file, this is how it should look so far
    3. Click on Add folder... and select each folder that is next to your .exe file, when asked to include subfolders, press Yes, this is how it looks now
    4. Now one of the most important steps, do this for each folder that you added to the list; select folder, press Edit... and in Destination subfolder type the same name as the folder you just selected, example
  8. When you are done with files, press Next and I recommend you to check the same way as here, remember to change Application Start Menu folder name to the same as Application name, press Next
  9. You can skip Application Documentation screen so just press Next
  10. It's recommended to leave Setup Install Mode as it is, press Next
  11. If you want you can select multiple languages for the installer, I'm selecting English only, press Next
  12. Last screen
    • Custom compiler output folder - where installer file will be saved
    • Compiler output base file name - name of the install file
    • Custom Setup icon file - you can select icon that will be used by the installer, leave empty for default icon
    • Setup password - if you want to protect installer with password (not recommended)
  13. Press Next twice and then Finish
  14. If you want, you can compile (create installer file) right away, so press Yes, then again Yes (save your installer script file for future use), if you want to compile later, press Compile button
    or Ctrl+F9.
That's all, your installer is ready and can be shared.
 

LazyBear

So lazy
Joined
Nov 27, 2018
Messages
116
Solutions
2
Reaction score
60
I appreciate your work you put in this, but I'd like to tell to others that for the God's sake, don't create this shit. Never consider creating an installer for your client unless you are running a Pokemon or Dragon Ball server.

I hardly ever open any older versions which show to be a potential virus containing files (normally these are false positive), imagine installing something that you have no clue what they're downloading inside your computer, and these files are in no way certified by anyone. Some random who decided to open these 10.x servers from BR forums, with a global or similar suffix, could consider such things.
 
OP
oen432

oen432

Excellent OT User
Joined
Oct 3, 2014
Messages
951
Solutions
35
Reaction score
875
Location
Poland
GitHub
Oen44
I appreciate your work you put in this, but I'd like to tell to others that for the God's sake, don't create this shit. Never consider creating an installer for your client unless you are running a Pokemon or Dragon Ball server.

I hardly ever open any older versions which shows to be potential virus containing file (normally these are false positive), imagine installing something that you have no clue what they're downloading inside your computer and these files are in no way certified by anyone. Some random who decided to open these 10.x servers from BR forums, with a global or similar suffix, could consider such things.
Because every person here wants to steal your data, hack your bank account and do harm to your computer.
 

LazyBear

So lazy
Joined
Nov 27, 2018
Messages
116
Solutions
2
Reaction score
60
Why wouldn't a person take such an advantage if they had knowledge of how to do so? Why do I feel like you're one of them? 🙃
 

Diarreamental

Banned User
Joined
Jul 6, 2015
Messages
366
Reaction score
62
the problem with this is that when people downloads it . it's always recognized as a virus so they delete it
 
Top