#include <common/step/pkgmgr/step_kill_apps.h>
#include <common/step/pkgmgr/step_recover_application.h>
#include <common/step/pkgmgr/step_register_app.h>
+#include <common/step/pkgmgr/step_register_plugin_info.h>
#include <common/step/pkgmgr/step_remove_manifest.h>
#include <common/step/pkgmgr/step_run_parser_plugins.h>
#include <common/step/pkgmgr/step_unregister_app.h>
+#include <common/step/pkgmgr/step_unregister_plugin_info.h>
#include <common/step/pkgmgr/step_update_app.h>
#include <common/step/pkgmgr/step_update_pkg_disable_info.h>
+#include <common/step/pkgmgr/step_update_plugin_info.h>
#include <common/step/recovery/step_open_recovery_file.h>
#include <common/step/recovery/step_create_recovery_file.h>
#include <common/step/security/step_check_signature.h>
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Install);
+ AddStep<ci::pkgmgr::StepRegisterPluginInfo>();
AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>(
wgt::filesystem::HybridAdditionalSharedDirs);
AddStep<ci::filesystem::StepChangeOwnershipAndPermission>();
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::pkgmgr::StepUpdatePluginInfo>();
AddStep<ci::filesystem::StepUpdatePerUserStorageDirectories>();
AddStep<ci::filesystem::StepChangeOwnershipAndPermission>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
AddStep<ci::pkgmgr::StepRemoveManifest>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Uninstall);
+ AddStep<ci::pkgmgr::StepUnregisterPluginInfo>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
}
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::pkgmgr::StepUpdatePluginInfo>();
AddStep<ci::filesystem::StepUpdatePerUserStorageDirectories>();
AddStep<ci::filesystem::StepChangeOwnershipAndPermission>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Install);
+ AddStep<ci::pkgmgr::StepRegisterPluginInfo>();
AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>(
wgt::filesystem::HybridAdditionalSharedDirs);
AddStep<ci::filesystem::StepChangeOwnershipAndPermission>(true);
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::pkgmgr::StepUpdatePluginInfo>();
AddStep<ci::filesystem::StepUpdatePerUserStorageDirectories>();
AddStep<ci::filesystem::StepChangeOwnershipAndPermission>(true);
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Install);
+ AddStep<ci::pkgmgr::StepRegisterPluginInfo>();
AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>(
wgt::filesystem::HybridAdditionalSharedDirs);
AddStep<ci::filesystem::StepChangeOwnershipAndPermission>();
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::pkgmgr::StepUpdatePluginInfo>();
AddStep<ci::filesystem::StepUpdatePerUserStorageDirectories>();
AddStep<ci::filesystem::StepChangeOwnershipAndPermission>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Install);
+ AddStep<ci::pkgmgr::StepRegisterPluginInfo>();
AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>(
wgt::filesystem::HybridAdditionalSharedDirs);
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::pkgmgr::StepUpdatePluginInfo>();
AddStep<ci::filesystem::StepUpdatePerUserStorageDirectories>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
}
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::pkgmgr::StepUpdatePluginInfo>();
AddStep<ci::filesystem::StepUpdatePerUserStorageDirectories>();
AddStep<ci::filesystem::StepChangeOwnershipAndPermission>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRemoveManifest>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::pkgmgr::StepUpdatePluginInfo>();
}
void HybridInstaller::EnablePkgSteps() {
ci::pkgmgr::StepUpdatePkgDisableInfo::ActionType::Enable);
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Install);
+ AddStep<ci::pkgmgr::StepRegisterPluginInfo>();
}
void HybridInstaller::DisablePkgSteps() {
ci::pkgmgr::StepUpdatePkgDisableInfo::ActionType::Disable);
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Uninstall);
+ AddStep<ci::pkgmgr::StepUnregisterPluginInfo>();
}
void HybridInstaller::MigrateExtImgSteps() {
#include <common/step/pkgmgr/step_recover_application.h>
#include <common/step/pkgmgr/step_recover_parser_plugins.h>
#include <common/step/pkgmgr/step_register_app.h>
+#include <common/step/pkgmgr/step_register_plugin_info.h>
#include <common/step/pkgmgr/step_remove_manifest.h>
#include <common/step/pkgmgr/step_run_parser_plugins.h>
#include <common/step/pkgmgr/step_unregister_app.h>
+#include <common/step/pkgmgr/step_unregister_plugin_info.h>
#include <common/step/pkgmgr/step_update_app.h>
#include <common/step/pkgmgr/step_update_pkg_disable_info.h>
+#include <common/step/pkgmgr/step_update_plugin_info.h>
#include <common/step/rds/step_rds_modify.h>
#include <common/step/rds/step_rds_parse.h>
#include <common/step/recovery/step_open_recovery_file.h>
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Install);
+ AddStep<ci::pkgmgr::StepRegisterPluginInfo>();
AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>(
wgt::filesystem::WgtAdditionalSharedDirs);
AddStep<ci::filesystem::StepChangeOwnershipAndPermission>();
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::pkgmgr::StepUpdatePluginInfo>();
AddStep<ci::filesystem::StepUpdatePerUserStorageDirectories>();
AddStep<ci::filesystem::StepChangeOwnershipAndPermission>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
AddStep<ci::pkgmgr::StepRemoveManifest>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Uninstall);
+ AddStep<ci::pkgmgr::StepUnregisterPluginInfo>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
}
AddStep<wgt::security::StepCheckExtensionPrivileges>();
AddStep<ci::security::StepRegisterTrustAnchor>(
ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
+ AddStep<ci::pkgmgr::StepUpdatePluginInfo>();
AddStep<ci::security::StepPrivacyPrivilege>(
ci::security::StepPrivacyPrivilege::ActionType::Update);
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::pkgmgr::StepUpdatePluginInfo>();
AddStep<ci::filesystem::StepUpdatePerUserStorageDirectories>();
AddStep<ci::filesystem::StepChangeOwnershipAndPermission>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Install);
+ AddStep<ci::pkgmgr::StepRegisterPluginInfo>();
AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>(
wgt::filesystem::WgtAdditionalSharedDirs);
AddStep<ci::filesystem::StepChangeOwnershipAndPermission>(true);
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::pkgmgr::StepUpdatePluginInfo>();
AddStep<ci::filesystem::StepUpdatePerUserStorageDirectories>();
AddStep<ci::filesystem::StepChangeOwnershipAndPermission>(true);
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
ci::security::StepPrivacyPrivilege::ActionType::Install);
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(ci::Plugin::ActionType::Install);
+ AddStep<ci::pkgmgr::StepRegisterPluginInfo>();
AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>(
wgt::filesystem::WgtAdditionalSharedDirs);
AddStep<ci::filesystem::StepChangeOwnershipAndPermission>();
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::pkgmgr::StepUpdatePluginInfo>();
AddStep<ci::filesystem::StepUpdatePerUserStorageDirectories>();
AddStep<ci::filesystem::StepChangeOwnershipAndPermission>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
ci::security::StepPrivacyPrivilege::ActionType::Update);
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::pkgmgr::StepRegisterPluginInfo>();
AddStep<ci::filesystem::StepChangeOwnershipAndPermission>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
}
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRemoveManifest>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::pkgmgr::StepUpdatePluginInfo>();
}
void WgtInstaller::ManifestPartialInstallSteps() {
ci::security::StepPrivacyPrivilege::ActionType::Install);
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(ci::Plugin::ActionType::Install);
+ AddStep<ci::pkgmgr::StepRegisterPluginInfo>();
AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>(
wgt::filesystem::WgtAdditionalSharedDirs);
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
+ AddStep<ci::pkgmgr::StepUpdatePluginInfo>();
AddStep<ci::filesystem::StepUpdatePerUserStorageDirectories>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
}
ci::pkgmgr::StepUpdatePkgDisableInfo::ActionType::Disable);
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Uninstall);
+ AddStep<ci::pkgmgr::StepUnregisterPluginInfo>();
}
void WgtInstaller::MigrateExtImgSteps() {