views:

125

answers:

3

I am working on a project and am woundering how I could build an installer for it. Since I wanted it to be very easy to use I need to take a look at other cool installers. What are the coolest you have seen?

I took a look at Woltlab burning boards installer.

The installer should later run on windows, linux and mac so bascially I was thinking of making it a php app itself.

I will host any files on my servers but bandwidth is not a problem.

I am not talking about a desktop installer

+2  A: 

I actually prefer installers where I do all the downloading and it just creates the database/inserts settings/checks permissions.

Downloading myself allows me to check hashes if I want to, without having to trust that you did all that correctly in your code. To me there is also something a little creepy about software that downloads itself, which makes me paranoid in web settings.

Drupal has a fairly good installer these days. Theirs walks through a simple wizard that allows you to enter settings and adds the needed database tables. When it is done it tells you what you can tighten up (permissions of the config file and what not) and gives you clear instructions on how to do that.

acrosman
I see your point.. but does everyone feel this way? I really want to know what people think before I build something and afterall everyone is uncomfy with it..
Thomaschaaf
We'll see how other people respond, I've never polled the question myself. That said, PHP installers that use already downloaded code are the most common that I've seen (Drupal, Joomla, and MediaWiki all work that way).
acrosman
Yea but is it really the best? I am trying to get my software to be cool and make things less painful..
Thomaschaaf
I think few people think about that. Everybody wants it as simple as possible. And as long as you download the original installer from a trusted source, there's not much reason to worry anyway.
ionut bizau
+1  A: 

I'm not sure why a desktop or CLI installer is a requirement but Wordpress, copy paste PHP files and just click the button. It's cross-platform and pretty easy.

If you need to setup server, database etc. with your installer then still I'd still recommend a PHP (or your language installer which requires to run privileged in the start then force client to fix privileges or drop it's own privilege automatically )

dr. evil
So Wordpress has your favorite installer?
Thomaschaaf
yes wordpress's installer
dr. evil
+2  A: 

So far Wordpress is my favorite. All you need to do it to upload the whole directory to your webserver, access it from the browser and follow some simple steps. I don't think you can go much more than that. Maybe creating the database from the installer as well?

ionut bizau