| Index: chrome/installer/setup/setup_main.cc
|
| ===================================================================
|
| --- chrome/installer/setup/setup_main.cc (revision 39907)
|
| +++ chrome/installer/setup/setup_main.cc (working copy)
|
| @@ -599,11 +599,6 @@
|
| return installer_util::OS_ERROR;
|
| }
|
|
|
| - int exit_code = 0;
|
| - if (HandleNonInstallCmdLineOptions(parsed_command_line, system_install,
|
| - exit_code))
|
| - return exit_code;
|
| -
|
| // Some command line options don't work with SxS install/uninstall
|
| if (InstallUtil::IsChromeSxSProcess()) {
|
| if (system_install ||
|
| @@ -623,6 +618,11 @@
|
| }
|
| }
|
|
|
| + int exit_code = 0;
|
| + if (HandleNonInstallCmdLineOptions(parsed_command_line, system_install,
|
| + exit_code))
|
| + return exit_code;
|
| +
|
| if (system_install && !IsUserAnAdmin()) {
|
| if (win_util::GetWinVersion() >= win_util::WINVERSION_VISTA &&
|
| !parsed_command_line.HasSwitch(installer_util::switches::kRunAsAdmin)) {
|
|
|