Index: chrome/installer/util/installation_state.cc |
=================================================================== |
--- chrome/installer/util/installation_state.cc (revision 76372) |
+++ chrome/installer/util/installation_state.cc (working copy) |
@@ -47,6 +47,8 @@ |
if (key.ReadValue(google_update::kRegRenameCmdField, |
&rename_cmd_) != ERROR_SUCCESS) |
rename_cmd_.clear(); |
+ if (!commands_.Initialize(key)) |
+ commands_.Clear(); |
// Read from the ClientState key. |
channel_.set_value(std::wstring()); |
uninstall_command_ = CommandLine(CommandLine::NO_PROGRAM); |
@@ -99,6 +101,7 @@ |
other.old_version_.get() == NULL ? NULL : other.old_version_->Clone()); |
rename_cmd_ = other.rename_cmd_; |
uninstall_command_ = other.uninstall_command_; |
+ commands_.CopyFrom(other.commands_); |
msi_ = other.msi_; |
multi_install_ = other.multi_install_; |