tree: 23653ae5e197521be3d2500e696517c7227bc9db [path history] [tgz]
  1. appid.h
  2. BUILD.gn
  3. chrome.release
  4. chrome_appid.cc
  5. configuration.cc
  6. configuration.h
  7. configuration_test.cc
  8. decompress.cc
  9. decompress.h
  10. decompress_test.cc
  11. delete_with_retry.cc
  12. delete_with_retry.h
  13. delete_with_retry_test.cc
  14. DEPS
  15. exit_code.h
  16. generate_previous_version_mini_installer.py
  17. mini_file.cc
  18. mini_file.h
  19. mini_file_test.cc
  20. mini_installer.cc
  21. mini_installer.exe.manifest
  22. mini_installer.h
  23. mini_installer.ico
  24. mini_installer.rc
  25. mini_installer_constants.cc
  26. mini_installer_constants.h
  27. mini_installer_exe_main.cc
  28. mini_installer_exe_version.rc.version
  29. mini_installer_resource.h
  30. mini_installer_unittest.cc
  31. mini_string.cc
  32. mini_string.h
  33. mini_string_test.cc
  34. path_string.h
  35. pe_resource.cc
  36. pe_resource.h
  37. README.md
  38. regkey.cc
  39. regkey.h
chrome/installer/mini_installer/README.md

mini_installer.exe

This folder contains files to build mini_installer.exe, the Windows installer for Chromium.

By default, running mini_installer.exe will do a per-user install of Chromium into %LOCALAPPDATA%\Chromium\Application. You can use --system-level for a per-machine install into %ProgramFiles%. Per-user installs are blocked if a per-machine install is already present.

If installation is failing for some reason, you can see why in %TMP%\chromium_installer.log. Include --verbose-logging on the command line to make the log very verbose (and possibly informative).

Google Chrome

If you're building Google Chrome, all of the above apply, except that the default installation location is %LOCALAPPDATA%\Google\Chrome\Application, and the default log file location is %TMP%\chrome_installer.log.

In addition, you can use one of the following options to install Google Chrome for different channels:

  • --chrome-sxs -> %LOCALAPPDATA%\Google\Chrome SxS\Application
  • --chrome-dev -> %LOCALAPPDATA%\Google\Chrome Dev\Application
  • --chrome-beta -> %LOCALAPPDATA%\Google\Chrome Beta\Application

Similarly, if there is already a per-machine canary/dev/beta/stable version installed in %ProgramFiles%, the corresponding per-user installation will be blocked. For example, if you already have Chrome Stable installed in %ProgramFiles%, running mini_installer.exe directly will be a no-op. In this case, assuming you don't have Chrome Beta installed, you can use --chrome-beta to install it into %LOCALAPPDATA%\Google\Chrome Beta\Application.