Emit 'package' and 'install' events from the install command