Lastly, we have the Bundle Installation script type, which provides several events that allow us to interact with the installation, update, and uninstallation of a particular bundle. This is a rarely-encountered script type, but important to be aware of nonetheless.
The Bundle Installation includes the following event handlers, which should be fairly self-explanatory:
if you want to reproduce, please indicate the source:
netsuite – Script Type Overview – The Bundle Installation Script - CodeDay