summaryrefslogtreecommitdiffstats
path: root/chrome/installer
Commit message (Collapse)AuthorAgeFilesLines
* 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
* We should not return the raw Google Update branch code if we fail to ↵finnur@chromium.org2010-01-082-0/+4
| | | | | | | | | | | | determine what branch we are on. We should just assume stable. We should also not add the branch code information to the version string, since it needs to be parsable by Version object. If we append the raw branch code, it might contain dots, which confuses the parsing done by the Version object. BUG=31772 TEST=Change your branch code to something like 3.0-dev or 2.0-dev-somerandomstring. Chrome should not crash when you open the About box. Review URL: http://codereview.chromium.org/523151 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35763 0039d316-1c4b-4281-b951-d872f2087c98
* Some Chrome Frame cleanup:robertshield@chromium.org2010-01-052-2/+2
| | | | | | | | | | | | | | | | | | 1) Rearrange the chrome_frame.gyp file to: a) Split out most of CF into a static lib to make writing unit tests easier (not having to re-include source files). b) Remove most of the un-needed xulrunner-sdk includes. 2) Move all OBJECT_ENTRY_AUTO macros to chrome_tab.cc since they don't work without extra work when residing in a lib. 3) Rename npchrome_tab.dll to npchrome_frame.dll. BUG=none TEST=none Review URL: http://codereview.chromium.org/523040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35543 0039d316-1c4b-4281-b951-d872f2087c98
* Removing the last remaining vsprops files (that are hooked in).bradnelson@google.com2010-01-044-73/+33
| | | | | | | | | | | | | Also pulling in a newer nacl version. Switching to use AdditionalOptions in list form. BUG=None TEST=None TBR=mmentovai Review URL: http://codereview.chromium.org/523027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35449 0039d316-1c4b-4281-b951-d872f2087c98
* atl: Remove unused <atlbase.h> header from some source files.jhawkins@chromium.org2009-12-291-1/+0
| | | | | | | | | | BUG=5027 TEST=compiles Patch from Thiago Farina <thiago.farina@gmail.com>. Review URL: http://codereview.chromium.org/519022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35341 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the official Windows build - ↵gregoryd@google.com2009-12-293-2/+55
| | | | | | | | | | | http://build.chromium.org/buildbot/waterfall.fyi/builders/Google%20Chrome%20XP TEST=none BUG=none Review URL: http://codereview.chromium.org/515047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35327 0039d316-1c4b-4281-b951-d872f2087c98
* Add some licensing comments under chrome/.evan@chromium.org2009-12-285-1/+19
| | | | | | | | BUG=28291 Review URL: http://codereview.chromium.org/507067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35301 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Internet link association for the multiple user scenario.kuchhal@chromium.org2009-12-241-2/+2
| | | | | | | | | | BUG=29399 TBR=huanr TEST=Install Chrome/Chromium at user level for more than one user on the same machine, set it as default for both users and make sure Start-Internet link launches correct browser. Review URL: http://codereview.chromium.org/522008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35250 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring build configurations - make it clearer and allow better support ↵gregoryd@google.com2009-12-222-2/+2
| | | | | | | | | | | | | for x64 on Windows TEST=none BUG=29467 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35012 Review URL: http://codereview.chromium.org/501127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35129 0039d316-1c4b-4281-b951-d872f2087c98
* Reset the dr key if the toast experiment is cancelled.cpu@chromium.org2009-12-191-1/+1
| | | | | | | | | | | | | | TEST= run the toast experiment and cancel it. Then look at the dr key on HKEY_CURRENT_USER\Software\Google\Update\ClientState\{8A69D345-D564-463C-AFF1-A69D9E530F96} should be "0" BUG=30799 Review URL: http://codereview.chromium.org/502077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35028 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35012 - Rearrange build configurations make it clearer and allow ↵gregoryd@google.com2009-12-192-2/+2
| | | | | | | | | | | | | | better support for x64 on Windows TEST=none BUG=29467 Review URL: http://codereview.chromium.org/501127 TBR=gregoryd@google.com Review URL: http://codereview.chromium.org/500149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35016 0039d316-1c4b-4281-b951-d872f2087c98
* Rearrange build configurations - make it clearer and allow better support ↵gregoryd@google.com2009-12-192-2/+2
| | | | | | | | | | | for x64 on Windows TEST=none BUG=29467 Review URL: http://codereview.chromium.org/501127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35012 0039d316-1c4b-4281-b951-d872f2087c98
* Changes the title of the in-product EULAs to not contain "OEM"gwilson@google.com2009-12-1841-62/+62
| | | | | | | | | | R=cpu BUG=30711 TEST=Run in-product EULA, should not see "OEM" in the title. Review URL: http://codereview.chromium.org/500107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34958 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the default usage of --force-uninstall for Chrome Frame ↵robertshield@chromium.org2009-12-173-8/+8
| | | | | | | | | | | uninstallation. Restore the original intent of the --force-uninstall flag, in that it guarantees completely silent uninstalls. BUG=None TEST=Both Chrome and Chrome Frame uninstalls are completely silent if this flag is passed. Review URL: http://codereview.chromium.org/500079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34833 0039d316-1c4b-4281-b951-d872f2087c98
* Minor cleanup; remove deprecate file_util function and some obsolete TODOs.estade@chromium.org2009-12-091-2/+2
| | | | | | Review URL: http://codereview.chromium.org/467030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34133 0039d316-1c4b-4281-b951-d872f2087c98
* Remove check for usage stats in the toast experimentcpu@chromium.org2009-12-091-4/+0
| | | | | | | | | | | | BUG=none TEST= same as before but you know don't need to opt-in for sending crash reports or usage stats TBR=rahulk Review URL: http://codereview.chromium.org/464078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34130 0039d316-1c4b-4281-b951-d872f2087c98
* Second part of the toast changescpu@chromium.org2009-12-071-27/+55
| | | | | | | | | | | | | - wire the flavor (as promised) - two experiment groups (one gets a welcome back url the other does not) BUG=none TEST=see twiki/bin/view/Main/ChromeAttritionExperiments for instructions Review URL: http://codereview.chromium.org/470002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34016 0039d316-1c4b-4281-b951-d872f2087c98
* Split installer.gyp and add installer_util_nacl_win64 target.gregoryd@google.com2009-12-052-77/+135
| | | | | | | | | | | This is required for supporting NaCl on 64-bit Windows. 32-bit and 64-bit versions of the installer_util target are now defined in installer_util.gypi and share some of the settings. TEST=none BUG=28176 Review URL: http://codereview.chromium.org/460055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33932 0039d316-1c4b-4281-b951-d872f2087c98
* Revert some of the change to go back to multiple experimentscpu@chromium.org2009-12-035-11/+12
| | | | | | | | | | | | | | | - Brian wants two experiments - This is not a full revert because I need to merge to 195 in stages BUG=none TEST=none TBR=kuchhal Review URL: http://codereview.chromium.org/467009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33744 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome updates should not change shortcut icon if there is an index ↵kuchhal@chromium.org2009-12-034-10/+176
| | | | | | | | | | | specified in prefs file. BUG=none TEST=Specify a chrome with alternative icon (using master prefs), install an update and make sure the icon doesnt change. Review URL: http://codereview.chromium.org/455041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33732 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the en_GB for the toast experimentcpu@chromium.org2009-12-031-6/+1
| | | | | | | | | | | | BUG=none TEST=see twiki/bin/view/Main/ChromeAttritionExperiments for instructions TBR=mal Review URL: http://codereview.chromium.org/463012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33650 0039d316-1c4b-4281-b951-d872f2087c98
* Many changes to DictionaryValues:pkasting@chromium.org2009-11-252-15/+9
| | | | | | | | | | | | | | | | | * Add support for keys with "." in them via new XXXWithoutPathExpansion() APIs. * Use these APIs with all key iterator usage. * SetXXX() calls cannot fail, so change them from bool to void. * Change GetSize() to size() since it's cheap, and add empty(). Other: * Use standard for loop format in more places (e.g. instead of while loops when they're really doing a for loop). * Shorten a few bits of code. BUG=567 TEST=none Review URL: http://codereview.chromium.org/441008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33109 0039d316-1c4b-4281-b951-d872f2087c98
* Make Linux packaging options more granular.mmoss@chromium.org2009-11-231-101/+278
| | | | | | | | | This allows us to not waste time building packages/channels we don't care about. Also added option to build new 'trunk' channel packages, which are a special configuration for developer testing. Review URL: http://codereview.chromium.org/418021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32879 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "installer: clean up to use FilePath instead of std::wstring."kuchhal@chromium.org2009-11-2326-348/+376
| | | | | | | | | | | This reverts commit 9da05365beb211e3879e6049547e5e92c4c0a5a2 (r32811). TBR=thiago.farina@gmail.com BUG=32811 Review URL: http://codereview.chromium.org/437011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32817 0039d316-1c4b-4281-b951-d872f2087c98
* installer: clean up to use FilePath instead of std::wstring.kuchhal@chromium.org2009-11-2326-376/+348
| | | | | | | | | | BUG=24672 TEST=installer_util_unittests and setup_unittests Review URL: http://codereview.chromium.org/385129 Patch from Thiago Farina <thiago.farina@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32811 0039d316-1c4b-4281-b951-d872f2087c98
* Go back to a single toast flavor.cpu@chromium.org2009-11-205-39/+22
| | | | | | | | | | | | | - We have picked a winner, code can go back to being simple. - result codes are now TFxx TEST=launch setup with --inactive-user-toast BUG=none Review URL: http://codereview.chromium.org/416002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32597 0039d316-1c4b-4281-b951-d872f2087c98
* Set prop app id for chromium/application shortcut.xiyuan@chromium.org2009-11-192-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a follow up change after andrew's patch for win7 shortcut to properly set app id for chromium/application shortcut. - Move PKEY_AppUserModel_ID and code to set it from app/win_util.cc to base/win_util.cc as SetAppIdForPropertyStore to share with file_util shortcut code; - Add an app_id args to file_util's CreateShortcutLink and UpdateShortcutLink; - Update code that calls the above two function in installer and UserDataManager so that the chromium shortcuts are created with proper app id (except the uninstall shortcut which is not tagged with any app id). - Move ComputeApplicationNameFromURL from Browser to web_app namespace and use it as app id for application shortcut. This makes pinned shortcut and browser window use the same app id and Win7 correctly groups them; - Rename ComputeApplicationNameFromURL to GenerateApplicationNameFromURL per Ben's comments; - Add a DCHECK in SetAppIdForPropertyStore to ensure app id is less than 128 chars and contains no space per msdn; - Change default app id from IDS_PRODUCT_NAME to chrome::kBrowserAppName BUG=28104 TEST=On Win7, pinned shortcut should no longer be separated from running instance of chrome for both chrome and web application. Review URL: http://codereview.chromium.org/399045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32508 0039d316-1c4b-4281-b951-d872f2087c98
* file_util: Fix some callers of CreateNewTempDirectory to remove the ↵evan@chromium.org2009-11-191-20/+19
| | | | | | | | | | | | | deprecated version. BUG=None TEST=unit_tests Patch from Thiago Farina <thiago.farina@gmail.com>. Review URL: http://codereview.chromium.org/385112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32487 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid a first-chance access violation a few lines down that happensjoi@chromium.org2009-11-181-1/+1
| | | | | | | | | | | | when you lstrcat a NULL string (in the case where there are no additional parameters). BUG=none TEST=windbg mini_installer.exe, should see no first-chance access violation Review URL: http://codereview.chromium.org/408012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32424 0039d316-1c4b-4281-b951-d872f2087c98
* cleanup: remove unused variable from setup_constants.kuchhal@chromium.org2009-11-162-4/+0
| | | | | | | | | | BUG=None TEST=compiles Review URL: http://codereview.chromium.org/384138 Patch from Thiago Farina <thiago.farina@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32067 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes almost all of the rest of lint errors in the chrome/ directory (minus ↵erg@google.com2009-11-138-18/+19
| | | | | | | | the really hard ones which will need actual review instead of rubber-stamping.) Review URL: http://codereview.chromium.org/386026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31932 0039d316-1c4b-4281-b951-d872f2087c98
* Correctly schedule empty parent directories for deletion when Chrome Frame ↵robertshield@chromium.org2009-11-123-6/+38
| | | | | | | | | | | is uninstalled while in use. BUG=27483,23999 TEST=Uninstall Chrome Frame while it is in use. Verify that all Chrome Frame folders are removed. Review URL: http://codereview.chromium.org/392013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31853 0039d316-1c4b-4281-b951-d872f2087c98
* Add NPAPI plugin registration persistence code to chrome frame. If the DLL ↵robertshield@chromium.org2009-11-114-2/+14
| | | | | | | | is already registered as an NPAPI plugin, keep that registration information up to date across updates. Review URL: http://codereview.chromium.org/385015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31697 0039d316-1c4b-4281-b951-d872f2087c98
* Add a Debian .menu file.thestig@chromium.org2009-11-111-0/+2
| | | | | | | | | | This is the external change. BUG=26826 TEST=none Review URL: http://codereview.chromium.org/388011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31691 0039d316-1c4b-4281-b951-d872f2087c98