Remove  'InstallWarning' class

Remove 'InstallWarning' class as it is never used.