Hi,
As others pointed out, the only way to delete and install ENVIRONMENTSHELL is by using UJS_ACTIVATE_CONTENT. This command when used for activating ENVIRONMENTSHELL will generate an error if all the underlying objects that are leveraged are not properly activated. If you get an error during the activation then you have to find the BW objects that are not activated and activate them or activate your BI_CONTENT.
Best Regards,
Leila Lappin