When an application is installed, there are times when you need to perform some sort of logic at installation time, such as validating whether the application should be installed on the system based on data, or maybe you want to set up some default or sample data for the customer so that once your application is installed, they can jump right in and start playing around with it.
This recipe will show you how to create logic that is executed at the time the application is installed.