Disable redirect to install.php

Well, One trick seems to be defining a constant:

define( 'WP_INSTALLING', 'smth' );