refactored InstallerCommand::execute()