#include <common/step/step_register_security.h>
#include <common/step/step_rollback_deinstallation_security.h>
#include <common/step/step_rollback_installation_security.h>
+#include <common/step/step_run_parser_plugins.h>
#include <common/step/step_check_signature.h>
#include <common/step/step_unregister_app.h>
#include <common/step/step_unzip.h>
AddStep<ci::security::StepRegisterSecurity>();
AddStep<tpk::pkgmgr::StepConvertXml>();
AddStep<ci::pkgmgr::StepRegisterApplication>();
+ AddStep<ci::pkgmgr::StepRunParserPlugin>(
+ ci::PluginsLauncher::ActionType::Install);
}
void TpkInstaller::UpdateSteps() {
AddStep<ci::security::StepUpdateSecurity>();
AddStep<tpk::pkgmgr::StepConvertXml>();
AddStep<ci::pkgmgr::StepUpdateApplication>();
+ AddStep<ci::pkgmgr::StepRunParserPlugin>(
+ ci::PluginsLauncher::ActionType::Upgrade);
/* TODO(jungh.yeon): this temporary step will be removed
* when secondary parsing procedure has removed*/
AddStep<ci::pkgmgr::StepUpdateTep>();
AddStep<ci::parse::StepParseManifest>(
ci::parse::StepParseManifest::ManifestLocation::INSTALLED,
ci::parse::StepParseManifest::StoreLocation::NORMAL);
+ AddStep<ci::pkgmgr::StepRunParserPlugin>(
+ ci::PluginsLauncher::ActionType::Uninstall);
AddStep<ci::pkgmgr::StepKillApps>();
AddStep<ci::pkgmgr::StepUnregisterApplication>();
AddStep<ci::security::StepRollbackDeinstallationSecurity>();
AddStep<ci::security::StepUpdateSecurity>();
AddStep<tpk::pkgmgr::StepConvertXml>();
AddStep<ci::pkgmgr::StepUpdateApplication>();
+ AddStep<ci::pkgmgr::StepRunParserPlugin>(
+ ci::PluginsLauncher::ActionType::Upgrade);
}
void TpkInstaller::RecoverySteps() {
AddStep<ci::security::StepRollbackInstallationSecurity>();
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::pkgmgr::StepRegisterApplication>();
+ AddStep<ci::pkgmgr::StepRunParserPlugin>(
+ ci::PluginsLauncher::ActionType::Install);
}
void TpkInstaller::ManifestDirectUpdateSteps() {
AddStep<ci::security::StepRollbackInstallationSecurity>();
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::pkgmgr::StepUpdateApplication>();
+ AddStep<ci::pkgmgr::StepRunParserPlugin>(
+ ci::PluginsLauncher::ActionType::Upgrade);
}
void TpkInstaller::ClearSteps() {