I'm creating a post install script for our managed package, and wanted to test it out in a beta release before going live. I only see an option to set it on the main package page, and from the Specify a Post Install Script doc, it's unclear exact what happens once it's set:
Once you have created and tested the post install script, you can specify it in the Post Install Script lookup field on the Package Detail page. In subsequent patch releases, you can change the contents of the script but not the Apex class.
Questions:
- Does the post install script automatically apply to previous released versions of your package? Or only on the upcoming beta/full package releases?
- After it's set, can you unset/deactivate it in the future? Looks like from the quote above that you might have to just gut the code within the class itself if you wanted to disable it