Running custom code on package install?

A post was split to a new topic: Pre and post install messages