February 08, 2012, 03:06:38 AM

Author Topic: New installer (version 5)  (Read 299 times)

Scott

  • ForumNazi
  • BNU Leader
  • THE TURKISH EMPEROR
  • *****
  • Posts: 1146
  • Karma: +6/-6
  • BNU-Camel since December 2002
    • View Profile
    • Clan BNU
New installer (version 5)
« on: March 17, 2008, 07:19:01 PM »
I just released a new version of the installer. You can grab it from the front page of http://www.bnubot.net/

As you may already know, the BNU-Bot installer is simply a thin wrapper around the auto-update module. This model allows the installer to remain consistent in the main codebase, and is much easier to maintain than a separate branch.

In the new auto-update model, I've added a hint to the update server about which operating system the client is running. By doing this, the responsibility of building an application on OSX, or a launcher on Windows is taken away from the hacky installer code (as it was in v4), and is placed on the server. With this model, I can now push updates to application configuration files - for example, I can now instruct the application to launch with a library in the classpath without requiring the end-user to modify these files.

As this is a completely new feature, you may experience unexpected behavior if you choose to use the old auto-update feature to update to the new (as of this posting, unreleased) version of the bot. Any theoretical problem that could be caused by this circumstance should be easily resolved by restarting the bot twice - once for the update with the old auto-update module, and once for the update with the new auto-update module.

I will try to push the new version of the bot later today or tomorrow; there are still a few loose ends to tie up, and I want to be sure it wont crash and burn in an untested environment.
It's like saying, "Hello, my name is Camel and I don't know what I'm talking about."