Marketplace applications should be able to provide scripts that will be automatically run by the installer/uninstaller when present. `pre-install.sh`, `post-install.sh`, `pre-uninstall.sh`, `post-uninstall.sh`