Sign in to follow this  
JL4453

Installers

Recommended Posts

JL4453    122
There seems to be very little information about how to write a game installer out there on Google. I realize it is simple to do things like create the necessary directories and decompress your files, but what about things like creating shortcuts on start menus, editing the windows registry (does mac or linux have anything analogous?), etc? There appear to be software tools out there for writing professional installers, but they appear to either cost thousands of dollars for a license or else work for only one platform. I guess having multiple installers that all look different wouldn't be fatal. In that case I just need to find one that installs for Mac OS. Does anyone have any links to information on writing quick & dirty installers, for various platforms?

Share this post


Link to post
Share on other sites
Kuraitou    250
You could use Inno Setup:
Quote:
Is it really free of charge, even for commercial use?

Yes, it may be used completely free of charge, even when deploying commercial applications. However if you wish to show your appreciation and support its development you can make a donation.


I think it's only for Windows, but you can package it with say, a Linux installer and a Mac installer. No one installer will work for all platforms, it will need to be recompiled for another.

If you really want to create your own you should look into functions for the language you're using for editing registry values, and find a compression library also free for commercial use (or $$$ if you're willing to spend a bit of money).

EDIT: I was Googling around and found this: it appears to be both free for commercial use and it's crossplatform.

Share this post


Link to post
Share on other sites
JL4453    122
OK, thanks for your help guys. I am writing cross-platform software with SDL and figured I could write a cross-platform installer too, but I guess not. I'll just have to look for separate installers for each platform even though the program being installed will be identical.

InstallJammer looks good, I will have to play around with it. Thanks.

I have looked at NSIS, I had dismissed it at first since it was only windows but I might as well take another look.

Share this post


Link to post
Share on other sites
cs_student    100
If your using a debian based linux operating system you can search for build-helper. It will make a debian package for you so all you have to do is host the .deb file yourself or get it into one of the official repos.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this