summaryrefslogtreecommitdiffstats
path: root/chrome/installer/setup/setup.cc
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-15 00:51:16 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-15 00:51:16 +0000
commit140842a9b3410cba8b48a3f933b2d9779f413cd5 (patch)
treee6bf7c222948a209e4e1be803241a75d419edd2d /chrome/installer/setup/setup.cc
parenta42e17147a581df63c1da69ab6bd645119915b4c (diff)
downloadchromium_src-140842a9b3410cba8b48a3f933b2d9779f413cd5.zip
chromium_src-140842a9b3410cba8b48a3f933b2d9779f413cd5.tar.gz
chromium_src-140842a9b3410cba8b48a3f933b2d9779f413cd5.tar.bz2
Write installer success result to the registry even for user level installs.
BUG=1549439 Review URL: http://codereview.chromium.org/18249 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8056 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/setup/setup.cc')
-rwxr-xr-xchrome/installer/setup/setup.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/installer/setup/setup.cc b/chrome/installer/setup/setup.cc
index b5d0ea8..27475242 100755
--- a/chrome/installer/setup/setup.cc
+++ b/chrome/installer/setup/setup.cc
@@ -198,9 +198,6 @@ installer_util::InstallStatus installer::InstallOrUpdateChrome(
std::wstring install_path(GetChromeInstallPath(system_install));
if (install_path.empty()) {
LOG(ERROR) << "Could not get installation destination path.";
- InstallUtil::WriteInstallerResult(system_install,
- installer_util::INSTALL_FAILED,
- IDS_INSTALL_FAILED_BASE, NULL);
return installer_util::INSTALL_FAILED;
} else {
LOG(INFO) << "install destination path: " << install_path;
@@ -217,9 +214,6 @@ installer_util::InstallStatus installer::InstallOrUpdateChrome(
installer_util::InstallStatus result;
if (!install_success) {
LOG(ERROR) << "Install failed.";
- InstallUtil::WriteInstallerResult(system_install,
- installer_util::INSTALL_FAILED,
- IDS_INSTALL_FAILED_BASE, NULL);
result = installer_util::INSTALL_FAILED;
} else {
if (!installed_version) {