Bug 991225: upgrade script should be run before setup during incompatible upgrade