summaryrefslogtreecommitdiffstats
path: root/chrome/installer
Commit message (Collapse)AuthorAgeFilesLines
* Move the installer result enum to the bottomcpu@chromium.org2010-03-251-2/+4
| | | | | | | | | | | | | | - it appears that some rely on these numbers, like the help center, sigh BUG=38927 TEST=none TBR=mal Review URL: http://codereview.chromium.org/1323002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42570 0039d316-1c4b-4281-b951-d872f2087c98
* Add import_bookmarks_from_file option to master pref thathuanr@chromium.org2010-03-245-0/+44
| | | | | | | | | | | sliently import bookmarks from file in first run. BUG=32728 TEST=unit test Review URL: http://codereview.chromium.org/1257001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42545 0039d316-1c4b-4281-b951-d872f2087c98
* Allowing MSI mode detection to work from the master preferences file. robertshield@chromium.org2010-03-2216-230/+365
| | | | | | | | | | | | | | | | Refactor the piece of master preferences code that was in setup_util.h|cc (setup) into master_preferences.h|cc (install_util). This adds an install_util -> googleurl dependency, which should to be fine. Add in master_preferences_dummy.cc to keep the nacl64 stuff compiling happily. Add values.h|cc to the portion of base built in 64 bit mode and add a minor fix to values.cc to make it build. Also refactor accompanying master_preferences test code from setup tests to install_util tests. BUG=19370 Review URL: http://codereview.chromium.org/979003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42248 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure we include the bookmark manager in the installerarv@chromium.org2010-03-191-0/+7
| | | | | | | | | BUG=38611 TEST=Built the mini_installer and verified that the files are in chrome.7z. Review URL: http://codereview.chromium.org/1082006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42164 0039d316-1c4b-4281-b951-d872f2087c98
* Removing AddDefaultBookmark related code as we are takinghuanr@chromium.org2010-03-193-44/+0
| | | | | | | | | | | bookmark import approach. BUG=32728 TEST=existing test passes Review URL: http://codereview.chromium.org/1122002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42130 0039d316-1c4b-4281-b951-d872f2087c98
* Add the Chrome Frame product name to the localized .grd files.robertshield@chromium.org2010-03-162-5/+7
| | | | | | | | BUG=24305 Review URL: http://codereview.chromium.org/996005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41735 0039d316-1c4b-4281-b951-d872f2087c98
* Modifies the over-install behavior of setup to launch Chrome itself instead ↵gwilson@google.com2010-03-121-1/+3
| | | | | | | | | | | | | of letting Omaha do it. BUG=37410 R=cpu TEST=Install system-level chrome, then install user-level chrome. System-level Chrome should launch (with err message) Review URL: http://codereview.chromium.org/878002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41447 0039d316-1c4b-4281-b951-d872f2087c98
* If running under an MSI, setup.exe must always return 0 on uninstallation.robertshield@chromium.org2010-03-111-4/+13
| | | | | | | | | BUG=19370 TEST=None Review URL: http://codereview.chromium.org/755002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41322 0039d316-1c4b-4281-b951-d872f2087c98
* win: string_util.h -> utf_string_conversions.h fix.jhawkins@google.com2010-03-111-1/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/830002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41292 0039d316-1c4b-4281-b951-d872f2087c98
* Add a flag to the installer that prevents the Add/Remove Programs uninstall ↵robertshield@chromium.org2010-03-106-40/+66
| | | | | | | | | | | shortcut from being created. BUG=19370 TEST=Chrome installs without creating an uninstall shortcut. Nothing else drops off. Review URL: http://codereview.chromium.org/661009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41160 0039d316-1c4b-4281-b951-d872f2087c98
* Allow the use of the master_preferences file in Linux.tony@chromium.org2010-03-108-25/+64
| | | | | | | | | | | | | | | Also refactor FirstRunTabs to use GURL instead of wstring. BUG=none TEST=Add master_preferences file to directory containing the chrome binary and execute chrome with the --first-run option. Original patch by bgmerrell@gmail.com at http://codereview.chromium.org/551160 Review URL: http://codereview.chromium.org/796001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41131 0039d316-1c4b-4281-b951-d872f2087c98
* svn prop fixes. Applied to all files not in third_party.pkasting@chromium.org2010-03-092-18/+18
| | | | | | | | | | | | * Removed eol-style, executable and mergeinfo from BMP/GIF/ICO/JPEG files, and set correct mime-type. * Removed executable and mergeinfo from .c/.cc/.cpp/.h/.m/.mm and .gyp files, and set eol-style to LF. TBR=evanm BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40991 0039d316-1c4b-4281-b951-d872f2087c98
* Set eol-style for mini_installer.gyp to unbreak the build for people who use ↵pkasting@chromium.org2010-03-081-278/+278
| | | | | | | | | | | Windows Pythons that barf on CRLF. TBR=gregoryd BUG=none TEST=none Review URL: http://codereview.chromium.org/674001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40965 0039d316-1c4b-4281-b951-d872f2087c98
* Remove nacl win64 binary from chrome dependencies, add it to installer ↵gregoryd@google.com2010-03-081-277/+278
| | | | | | | | | | | dependencies. This will allow developers who don't have the 64-bit tools installed to build Chrome successfully (without the support for NaCl on Win64), while making sure all the binaries are in place when building the installer. To build Chrome with NaCl support for Win64 developers will have to build both 'chrome' and 'chrome_nacl_win64' targets. Review URL: http://codereview.chromium.org/671017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40957 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for auto-installing extensions at first run via master prefscpu@chromium.org2010-03-083-2/+87
| | | | | | | | | | | | | | | | | | This a even lower impact method, with no new fields added. This is how it works: 1- The extension pared down manifest goes into the master prefs 2- The master prefs become the prefs at first run 3- First run notices an extensions block, an triggers an extensions check 4- The full extension gets updated then BUG=37573 TEST=ut included, also see bug Review URL: http://codereview.chromium.org/669218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40914 0039d316-1c4b-4281-b951-d872f2087c98
* Overinstall mismatch, Launch the existing chrome insteadcpu@chromium.org2010-03-054-3/+31
| | | | | | | | | | | | - If the user has a system-level chrome and it is trying to install user level, instead of having omaha show an error, the existing system level install is launched with --first-run - Disable toast experiment BUG=37410 TEST=see bug Review URL: http://codereview.chromium.org/668114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40701 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent CF from trashing Chrome's registrations when uninstalling.robertshield@chromium.org2010-03-043-2/+10
| | | | | | | | | BUG=37329 TEST=No longer attempt to delete Chrome registry keys on CF uninstall. Review URL: http://codereview.chromium.org/667007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40645 0039d316-1c4b-4281-b951-d872f2087c98
* Add 64-bit binaries that are required for NaCl support to Chrome ↵gregoryd@google.com2010-03-046-0/+14
| | | | | | | | | | | installation on Windows. NaCl uses two additional binaries on 64-bit Windows: nacl64.exe and nacl64.dll, so these binaries need to be installed and updated as part of Chrome installation/update. Review URL: http://codereview.chromium.org/567028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40639 0039d316-1c4b-4281-b951-d872f2087c98
* Modifies the uninstall path from the toast to appropriately handle ↵gwilson@google.com2010-03-041-1/+1
| | | | | | | | | | | | | system-level installs. R=cpu BUG=none TEST=run toast with system-level install, choose uninstall option, uninstall should proceed as expected. Review URL: http://codereview.chromium.org/661472 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40638 0039d316-1c4b-4281-b951-d872f2087c98
* Fix in use update of SxS channel.huanr@chromium.org2010-03-031-0/+5
| | | | | | | | | BUG=35574 TEST="setup.exe --chrome-sxs" while Chrome SxS is running. Review URL: http://codereview.chromium.org/661373 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40488 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak minidump flags to include a little more detail.siggi@chromium.org2010-03-014-0/+184
| | | | | | | | | | | | | | | | | | In release channel this adds PEB/TEB and the unloaded module list to crash dumps. In dev/beta channel builds this additionally adds stack-referenced memory to crash dumps. For full memory dumps, this adds capture of the PEB/TEB, unloaded module list and all handle information. These minidump flags have been verified safe against the DbgHelp.dll version shipping with XP SP2 and later. Move some code from platform_util to install_util to allow reusing it in the chrome exe project. Add a test for the additional install_util code. BUG=32441 TEST=Unittests in this change. Review URL: http://codereview.chromium.org/659001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40300 0039d316-1c4b-4281-b951-d872f2087c98
* Disable registering, unregistering, and setting default browserhuanr@chromium.org2010-02-277-11/+36
| | | | | | | | | | | for sxs install. BUG=35574 TEST="setup.exe --chrome-sxs" Review URL: http://codereview.chromium.org/660168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40203 0039d316-1c4b-4281-b951-d872f2087c98
* First part of the pre-set bookmarks featurecpu@chromium.org2010-02-263-36/+82
| | | | | | | | | | | | | | - master prefs format (just url) - defer actual bookmark fu, because early on the bookmarkmodel and other services are not yet running. - cleanup master prefs test, too much code duplication - cleanup ProcessMasterPreferences it had too many params BUG=32728 TEST=unit test included Review URL: http://codereview.chromium.org/660116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40150 0039d316-1c4b-4281-b951-d872f2087c98
* Use different short cut names for SxS installation.huanr@chromium.org2010-02-268-4/+20
| | | | | | | | | | | | This change includes: desktop shortcut, quick launch short cut, short cut name in start menu, add/remove program name. BUG=35574 TEST=Run "setup --chrome-sxs" and Chrome is installed with different short cut. Review URL: http://codereview.chromium.org/661051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40086 0039d316-1c4b-4281-b951-d872f2087c98
* Rename the DLL and the executable used by NaCl on Win64 ↵gregoryd@google.com2010-02-251-1/+1
| | | | | | | | | | | (chrome_nacl_win64.dll -> nacl64.dll, nacl.exe -> nacl64.exe). The motivation for the change: 1. Make the name shorter (look better when installed on users machines) 2. Allow differentiation between 64-bit and 32-bit binaries if we decide to switch to a similar design for 32-bits too. Review URL: http://codereview.chromium.org/650195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40043 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling options that sxs channel does not support.huanr@chromium.org2010-02-242-7/+47
| | | | | | | | | BUG=35574 TEST=Run setup with those options and "--chrome-sxs". Review URL: http://codereview.chromium.org/652197 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39861 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing Default User Data Directory for SxS install.huanr@chromium.org2010-02-191-0/+3
| | | | | | | | | TEST=SxS install can run together with normal install. BUG=35574 Review URL: http://codereview.chromium.org/639002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39487 0039d316-1c4b-4281-b951-d872f2087c98
* Adds new API to process_utils to launch a new app as a user in a specified ↵gwilson@google.com2010-02-181-1/+3
| | | | | | | | | | | | | desktop. Also modifies toast behavior to use this API instead. R=huanr,cpu BUG=none TEST=Run system-level toast with an attached user, toast should be visible. Review URL: http://codereview.chromium.org/596087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39391 0039d316-1c4b-4281-b951-d872f2087c98
* Roll gyp DEPS, and mostly revert r38366 which was fixed better in gyp.mmoss@google.com2010-02-172-9/+3
| | | | | | | | | | This properly triggers build targets that depend on "always run" actions. BUG=22044 Review URL: http://codereview.chromium.org/604061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39223 0039d316-1c4b-4281-b951-d872f2087c98
* Forcing correct subsystem for mini_installer and chrome_frame_mini_installer.robertshield@chromium.org2010-02-171-0/+2
| | | | | | | | | | For some reason 'SubSystem': 2 was getting ignored in the generated projects in spite of being in the target_defaults section for this file. Fixed by adding it again to the Debug_Base and Release_Base configurations. BUG=None TEST=Run mini_installer.exe by double clicking it in Windows Explorer. Verify that no command shell appears. Review URL: http://codereview.chromium.org/601089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39188 0039d316-1c4b-4281-b951-d872f2087c98
* Add google chrome sxs distribution for installer and omaha launcher.huanr@chromium.org2010-02-1711-11/+132
| | | | | | | | | | | BUG=35574 TEST=setup.exe can install/uninstall Google Chrome as before. setup.exe --chrome-sxs can install/uninstall Chrome to alternative path. Both versions of Chrome can co-exist. Review URL: http://codereview.chromium.org/596069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39186 0039d316-1c4b-4281-b951-d872f2087c98
* Modifies the behavior of setup.exe so when --system-level-toast is passed, ↵gwilson@google.com2010-02-092-7/+11
| | | | | | | | | | | | it will call LaunchUserExperiment with "true" for system_install instead of "false". R=huanr BUG=none TEST=Run setup.exe --system-level-toast with official build system-level install, toast should appear. Review URL: http://codereview.chromium.org/586005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38474 0039d316-1c4b-4281-b951-d872f2087c98
* Make LASTCHANGE work properly for make build.mmoss@google.com2010-02-082-3/+9
| | | | | | | | BUG=22044 Review URL: http://codereview.chromium.org/579014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38366 0039d316-1c4b-4281-b951-d872f2087c98
* Modifies the toast to append "--system-level" if a system-level install is ↵gwilson@google.com2010-02-061-2/+5
| | | | | | | | | | | | | | | | | | attempting to relaunch setup. The launch flow as it exists now is: Update -> setup.exe --system-level-toast --> setup.exe --inactive-user-toast=0 the modified flow will be: Update -> setup.exe --system-level-toast --> setup.exe --inactive-user-toast=0 --system-level R=cpu BUG=none TEST=Run setup.exe --system-level-toast with a system-level install. Toast should show. Review URL: http://codereview.chromium.org/581003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38283 0039d316-1c4b-4281-b951-d872f2087c98
* System toast was trying to launch the per-user chromecpu@chromium.org2010-02-056-7/+11
| | | | | | | | | | | | | - forgot to pass along the system_install flag. BUG=32474 TEST=see bug for instructions, you need to simulate a system level install. TBR=huanr Review URL: http://codereview.chromium.org/561080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38172 0039d316-1c4b-4281-b951-d872f2087c98
* Additional Chromium icon resolutions for better Linux desktop integration.mmoss@google.com2010-02-051-0/+4
| | | | | | | | BUG=34320 Review URL: http://codereview.chromium.org/575013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38158 0039d316-1c4b-4281-b951-d872f2087c98
* Fix StringPrintf that is now brokencpu@chromium.org2010-02-051-2/+2
| | | | | | | | | | | | | | - command line for chrome is not working BUG=none TEST=now toast test with --inactive-user-toast=0 should work TBR=huanr Review URL: http://codereview.chromium.org/570037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38156 0039d316-1c4b-4281-b951-d872f2087c98
* Modify the toast to hit system-level installscpu@chromium.org2010-02-024-10/+85
| | | | | | | | | | | | | | | | | | | This is somewhat tricky. setup.exe is executed by SYSTEM and as such we cannot run the experiment. So what we do is that if there is an interactive user logged in at the moment of chrome upgrade we re-launch setup in her context, from then on things proceed as in the previous case. Other enhancements - New experiment codes TKxx and TLxx (99% and 1% as usual) - New experiment group TK40 and TL40 : An active user BUG=32474 TEST=see bug Review URL: http://codereview.chromium.org/557077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37799 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the broker process that launches NaCl loader processes on 64-bit ↵gregoryd@google.com2010-02-012-0/+2
| | | | | | | | | | | | Windows systems. BUG=28176 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=37578 Review URL: http://codereview.chromium.org/542030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37720 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 37578 - Implement the broker process that launches NaCl loader ↵gregoryd@google.com2010-01-302-2/+0
| | | | | | | | | | | | processes on 64bit Windows systems. BUG=28176 TEST=none Review URL: http://codereview.chromium.org/542030 TBR=gregoryd@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37580 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the broker process that launches NaCl loader processes on 64-bit ↵gregoryd@google.com2010-01-302-0/+2
| | | | | | | | | | Windows systems. BUG=28176 TEST=none Review URL: http://codereview.chromium.org/542030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37578 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chrome_frame_mini_installer.exe to use the right archive names for ↵robertshield@chromium.org2010-01-273-8/+29
| | | | | | | | | | | installing / patching. BUG=33217 TEST=chrome_frame_mini_installer.exe installs chrome frame correctly. Review URL: http://codereview.chromium.org/557011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37222 0039d316-1c4b-4281-b951-d872f2087c98
* Cause Chrome Frame mini_installer to generate a separate ↵robertshield@chromium.org2010-01-251-0/+1
| | | | | | | | chrome_frame.packed.7z as a build artifact, since we need that for signing purposes. Review URL: http://codereview.chromium.org/552127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37039 0039d316-1c4b-4281-b951-d872f2087c98
* Recommit r36640 "Choose right installer strings based on branding."kuchhal@chromium.org2010-01-213-7/+27
| | | | | | Review URL: http://codereview.chromium.org/553037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36706 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a way to record the last run time in the GoogleUpdateSettings classcpu@chromium.org2010-01-204-0/+53
| | | | | | | | | | | | | | - to be used as a way to know how long ago chrome was started - windows only - enabled unit tests for GoogleUpdateSettings for windows. BUG=none TEST=unit test included Review URL: http://codereview.chromium.org/554017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36696 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r36640 "Choose right installer strings based on branding."kuchhal@chromium.org2010-01-202-17/+7
| | | | | | | | This reverts commit 4a533e019a51b12a0b027243a06da6ee6b2bc49a. Review URL: http://codereview.chromium.org/548089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36643 0039d316-1c4b-4281-b951-d872f2087c98
* Choose right installer strings based on branding.kuchhal@chromium.org2010-01-202-7/+17
| | | | | | | | | BUG=11950 TEST=see bug 11950 Review URL: http://codereview.chromium.org/548081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36640 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a secondary mini_installer target for Chrome Frame. This will remove ↵robertshield@chromium.org2010-01-1910-165/+301
| | | | | | | | | | | | | | the need to have different build scripts to build either Chrome or Chrome Frame. Also remove the now-unneeded gyp variables 'chrome_frame_define' and 'google_update_appid'. BUG=Both Chrome and Chrome Frame products should be buildable from a single solution file - we shouldn't need to run GYP with different settings to get a CF solution. TEST=none Review URL: http://codereview.chromium.org/542078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36546 0039d316-1c4b-4281-b951-d872f2087c98
* Display proper error message at couple of places during installation.kuchhal@chromium.org2010-01-1310-90/+83
| | | | | | | | | | | | | | | * If Chrome is used to download and install the same version of Chrome, it should display that the current version is in use. * When Chrome gets updated while it is running, there is no reason to launch Chrome (as it would still be old version), so do not write the launch command to registry. * Remove the case of HIGHER_VERSION_EXISTS as a successful install. Not sure why it was marked as successful install. * Remove the code to remove ChromeExt registry keys as this has already been pushed to the channels that had it in the first place. * Move the code to convert install_status into boolean (1 or 0) in Chromium distribution class. BUG=19459, 25534 TEST= 1) Install Chrome, and keep it running. 2) Try to install the same version again and check the error message in the registry. 3) Try to install a higher version and make launch command doesn't get written to the registry. Review URL: http://codereview.chromium.org/541002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36133 0039d316-1c4b-4281-b951-d872f2087c98
* Add better description of browser on Windows.kuchhal@chromium.org2010-01-126-1/+20
| | | | | | | | | BUG=11950 TEST=Install Chrome and in Windows Default Programs make sure we have more text than simply "Google Chrome" Review URL: http://codereview.chromium.org/523158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36033 0039d316-1c4b-4281-b951-d872f2087c98