Chameleon must be registered before a Chameleon Engine object can be initialized. There are several places in which you can call the registerHost() method:
Call it within your application, just before any Engine objects are initialized.
Make your application's installer handle the registration, by writing a small application or plugin function that is invoked by your installer.