We have created a post-installation script for a Managed Package.
As we are using lightning components in my package, the domain must be enabled.
In post-installation script, we are checking whether the domain is enabled.
If not enabled, we would like to throw an exception to the end user saying that 'Domain isn't enabled. Please contact System Administrator'.
Please help us resolve