Lines Matching refs:installer
7 #include "chrome/installer/setup/uninstall.h"
28 #include "chrome/installer/launcher_support/chrome_launcher_support.h"
29 #include "chrome/installer/setup/install.h"
30 #include "chrome/installer/setup/install_worker.h"
31 #include "chrome/installer/setup/setup_constants.h"
32 #include "chrome/installer/setup/setup_util.h"
33 #include "chrome/installer/util/auto_launch_util.h"
34 #include "chrome/installer/util/browser_distribution.h"
35 #include "chrome/installer/util/channel_info.h"
36 #include "chrome/installer/util/delete_after_reboot_helper.h"
37 #include "chrome/installer/util/google_update_constants.h"
38 #include "chrome/installer/util/google_update_settings.h"
39 #include "chrome/installer/util/helper.h"
40 #include "chrome/installer/util/install_util.h"
41 #include "chrome/installer/util/installation_state.h"
42 #include "chrome/installer/util/installer_state.h"
43 #include "chrome/installer/util/logging_installer.h"
44 #include "chrome/installer/util/self_cleaning_temp_dir.h"
45 #include "chrome/installer/util/shell_util.h"
46 #include "chrome/installer/util/util_constants.h"
55 using installer::InstallStatus;
56 using installer::MasterPreferences;
67 installer::kInstallTempDir));
69 installer::SelfCleaningTempDir temp_dir;
71 installer::kInstallTempDir) ||
82 const installer::InstallationState& original_state,
83 const installer::InstallerState& installer_state,
84 const installer::ChannelInfo& channel_info,
91 const installer::ProductState* product_state =
116 // the multi-installer package.
118 const installer::InstallationState& original_state,
119 const installer::InstallerState& installer_state,
120 const installer::Product& product) {
124 const installer::ProductState* product_state =
127 installer::ChannelInfo channel_info;
153 const installer::InstallerState& installer_state,
154 const installer::Product& product) {
164 const installer::InstallerState& installer_state) {
168 installer::RefreshElevationPolicy();
187 // Decides whether setup.exe and the installer archive should be removed based
188 // on the original and installer states:
193 const installer::InstallationState& original_state,
194 const installer::InstallerState& installer_state,
201 // the installer and archive. For the App Host, we only leave the installer.
203 VLOG(1) << "Removing all installer files for a non-multi installation.";
209 const installer::ProductState* product_state =
222 VLOG(1) << "Keeping all installer files due to a remaining "
231 VLOG(1) << "Removing the installer archive.";
237 // Removes all files from the installer directory, leaving setup.exe iff
248 base::FilePath setup_exe_base_name(installer::kSetupExe);
257 VLOG(1) << "Deleting installer path " << to_delete.value();
269 namespace installer {
273 base::CleanupProcesses(installer::kChromeExe, base::TimeDelta(),
275 base::CleanupProcesses(installer::kNaClExe, base::TimeDelta(),
282 HWND window = FindWindow(installer::kChromeFrameHelperWndClass, NULL);
297 VLOG(1) << "Waiting for " << installer::kChromeFrameHelperExe;
300 LOG(WARNING) << "Wait for " << installer::kChromeFrameHelperExe
304 VLOG(1) << installer::kChromeFrameHelperExe << " exited normally.";
309 VLOG(1) << installer::kChromeFrameHelperExe << " hung. Killing.";
310 base::CleanupProcesses(installer::kChromeFrameHelperExe, base::TimeDelta(),
497 installer::DeleteFileFromTempProcess(temp_file, kDeleteAfterMs);
537 base::FilePath app_host_exe(target_path.Append(installer::kChromeAppHostExe));
564 // We delete a file or folder unless it is a parent/child of the installer
565 // directory. For parents of the installer directory, we will later recurse
567 // installer directory).
574 if (to_delete.BaseName().value() == installer::kChromeAppHostExe)
621 options.AppendSwitch(installer::switches::kUninstall);
639 return installer::UNINSTALL_CANCELLED;
642 return installer::UNINSTALL_DELETE_PROFILE;
647 return installer::UNINSTALL_CONFIRMED;
663 status == installer::UNINSTALL_DELETE_PROFILE ||
664 cmd_line.HasSwitch(installer::switches::kDeleteProfile);
816 app_key.append(installer::kChromeExe);
821 app_path_key.append(installer::kChromeExe);
838 open_with_list_key.append(installer::kChromeExe);
875 *exit_code = installer::UNINSTALL_SUCCESSFUL;
1054 InstallStatus status = installer::UNINSTALL_CONFIRMED;
1057 installer_state.target_path().Append(installer::kChromeExe).value());
1072 if (status != installer::UNINSTALL_CONFIRMED &&
1073 status != installer::UNINSTALL_DELETE_PROFILE)
1090 !cmd_line.HasSwitch(installer::switches::kRunAsAdmin)) {
1095 new_cmd.AppendSwitch(installer::switches::kRunAsAdmin);
1097 new_cmd.AppendSwitch(installer::switches::kRemoveChromeRegistration);
1100 installer::switches::kRegisterChromeBrowserSuffix, suffix);
1102 DWORD exit_code = installer::UNKNOWN_STATUS;
1124 if (cmd_line.HasSwitch(installer::switches::kSelfDestruct) &&
1128 Append(installer::kChromeExe));
1164 InstallStatus ret = installer::UNKNOWN_STATUS;
1267 string16 reg_path(installer::kMediaPlayerRegPath);
1269 reg_path.append(installer::kChromeExe);
1304 return installer::UNINSTALL_SUCCESSFUL;
1310 ret = installer::UNINSTALL_SUCCESSFUL;
1327 ret = installer::UNINSTALL_FAILED;
1329 ret = installer::UNINSTALL_REQUIRES_REBOOT;
1367 VLOG(1) << "setup.exe is not in target path. Skipping installer cleanup.";
1386 // Remove files from "...\<product>\Application\<version>\Installer"
1397 // Delete "...\<product>\Application\<version>\Installer"
1425 } // namespace installer