| Index: chrome/installer/setup/setup_main.cc
|
| ===================================================================
|
| --- chrome/installer/setup/setup_main.cc (revision 45608)
|
| +++ chrome/installer/setup/setup_main.cc (working copy)
|
| @@ -722,7 +722,7 @@
|
| // MSI demands that custom actions always return 0 (ERROR_SUCCESS) or it will
|
| // rollback the action. If we're uninstalling we want to avoid this, so always
|
| // report success, squashing any more informative return codes.
|
| - if (!(InstallUtil::IsMSIProcess() &&
|
| + if (!(InstallUtil::IsMSIProcess(system_install) &&
|
| parsed_command_line.HasSwitch(installer_util::switches::kUninstall))) {
|
| // Note that we allow the status installer_util::UNINSTALL_REQUIRES_REBOOT
|
| // to pass through, since this is only returned on uninstall which is never
|
|
|