WordPress asks for new install, how to avoid?

To give you the context of my problem: One of my clients has really crapping hosting.

What happens is that no and than the hosting provider sometimes messes with the database and/or other settings. Which results in WordPress thinking that it should reinstall. So, WordPress ask to install WordPress… and yes, this happens on a live website.

Are there any ideas on how to solve this programmatically, atleast, poping an other page like… Currently, we have some technical issues, bla bla bla…