protected function registerInstallCommand()
    {
        $this->app->singleton('command.appinstall', function (Container $app) {
            $events = $app['events'];

            return new AppInstall($events);
        });
    }