Index: chrome/installer/util/installer_state.cc |
diff --git a/chrome/installer/util/installer_state.cc b/chrome/installer/util/installer_state.cc |
index d9d9faec9c3ede960e42a8defd416493bc6a7f2e..56b701d0c980140c025b8bda1de1a50cf7fceb3d 100644 |
--- a/chrome/installer/util/installer_state.cc |
+++ b/chrome/installer/util/installer_state.cc |
@@ -671,10 +671,8 @@ |
int string_resource_id, |
const std::wstring* const launch_cmd) const { |
// Use a no-rollback list since this is a best-effort deal. |
- std::unique_ptr<WorkItemList> install_list(WorkItem::CreateWorkItemList()); |
- install_list->set_log_message("Write Installer Result"); |
- install_list->set_best_effort(true); |
- install_list->set_rollback_enabled(false); |
+ std::unique_ptr<WorkItemList> install_list( |
+ WorkItem::CreateNoRollbackWorkItemList()); |
const bool system_install = this->system_install(); |
// Write the value for all products upon which we're operating. |
Products::const_iterator end = products().end(); |
@@ -690,7 +688,8 @@ |
system_install, multi_package_binaries_distribution()->GetStateKey(), |
status, string_resource_id, launch_cmd, install_list.get()); |
} |
- install_list->Do(); |
+ if (!install_list->Do()) |
+ LOG(ERROR) << "Failed to record installer error information in registry."; |
} |
bool InstallerState::RequiresActiveSetup() const { |