summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-11 15:50:52 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-11 15:50:52 +0000
commite6f84f1438b160aab349b417bbd9eea34bd3568e (patch)
tree5b9960d0d73af731cc20ce9c14a95353a229847e /chrome/installer
parentd08cd21d05e71fba90efdaacd45771e266730b19 (diff)
downloadchromium_src-e6f84f1438b160aab349b417bbd9eea34bd3568e.zip
chromium_src-e6f84f1438b160aab349b417bbd9eea34bd3568e.tar.gz
chromium_src-e6f84f1438b160aab349b417bbd9eea34bd3568e.tar.bz2
Return the exit code from setup.exe instead of returning a generic return code.
Review URL: http://codereview.chromium.org/1918 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2059 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/mini_installer/mini_installer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/installer/mini_installer/mini_installer.cc b/chrome/installer/mini_installer/mini_installer.cc
index 6ffc29a2..38bed23 100644
--- a/chrome/installer/mini_installer/mini_installer.cc
+++ b/chrome/installer/mini_installer/mini_installer.cc
@@ -343,10 +343,10 @@ int WMain(HMODULE module) {
return 1;
}
- int setup_exit_code = 0;
+ int setup_exit_code = 2;
if (!RunSetup(have_upacked_setup, base_path,
archive_name, &setup_exit_code)) {
- return 2;
+ return setup_exit_code;
}
wchar_t value[4];