Login  Register

Package postInstall or Class initializeAfterLoad

Posted by TimM-3 on Oct 23, 2005; 1:08pm
URL: https://forum.world.st/Package-postInstall-or-Class-initializeAfterLoad-tp3375984.html

What are the pro's and cons of using a postInstall script in the package
browser or simply implementing an #initializeAfterLoad on a class?

I can see that in some cases you might want to use package preInstall stuff
if you need something to be in place before your classes load, but other
than that it seems like its much easier to use the class
#initializeAfterLoad method where the tools are better, and you get
references to etc.

Am I missing something really important?

Tim