Thats to prevent calling upgrade or unistall methods during installation.