summaryrefslogtreecommitdiffstats
path: root/chrome/installer
Commit message (Collapse)AuthorAgeFilesLines
* * Return error in case non admin user tries system level install.kuchhal@chromium.org2008-12-084-8/+27
| | | | | | | | | BUG=5117,4973 TBR=huanr Review URL: http://codereview.chromium.org/13200 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6514 0039d316-1c4b-4281-b951-d872f2087c98
* * Prevent early exit due to && operator.kuchhal@chromium.org2008-12-051-12/+14
| | | | | | | | BUG=5104 Review URL: http://codereview.chromium.org/13179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6461 0039d316-1c4b-4281-b951-d872f2087c98
* Add error messages to JSONReader and friends. This required a bit of ↵aa@chromium.org2008-12-051-1/+1
| | | | | | | | refactoring to do cleanly. This CL doesn't actually use this capability anywhere except for unit tests. I will add that in a future CL. Review URL: http://codereview.chromium.org/13169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6459 0039d316-1c4b-4281-b951-d872f2087c98
* Change "client" parameter in RLZ ping to "referral" gwilson@google.com2008-12-054-6/+6
| | | | | | | | | | to match Omaha's changes. BUG=1520348 Review URL: http://codereview.chromium.org/12975 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6440 0039d316-1c4b-4281-b951-d872f2087c98
* * Add the checks that Chrome criteria checker will need to do. It mostly ↵kuchhal@chromium.org2008-12-044-16/+440
| | | | | | | | | | | | | | checks for existing installation, appropriate rights and for past offers for Google Chrome. The code borrows heavily from similar code written for Toolbar and Desktop (linked to from the bug). The test executable when run on a machine only makes sure that DLL and lib can be used to invoke the compatibility check function. BUG=1380504 Review URL: http://codereview.chromium.org/12922 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6380 0039d316-1c4b-4281-b951-d872f2087c98
* * Fix Chrome browser not launching when set as default browser.kuchhal@chromium.org2008-12-042-11/+14
| | | | | | | | | | Looks like Desktop (and probably new Talk as well) verify for the existence of "URL Protocol" value before using Chrome command to launch browser (see b/1326171). BUG=1386406 Review URL: http://codereview.chromium.org/13117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6376 0039d316-1c4b-4281-b951-d872f2087c98
* Changed svn:eol-style of all .sln and .vcproj files to CRLFscherkus@chromium.org2008-12-045-821/+821
| | | | | | Review URL: http://codereview.chromium.org/13133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6372 0039d316-1c4b-4281-b951-d872f2087c98
* * Check in criteria checker project for Chrome bundle deals.kuchhal@chromium.org2008-11-264-0/+165
| | | | | | | | | | Already reviewed at - http://codereview.chromium.org/6347/ BUG=1380504 Review URL: http://codereview.chromium.org/12702 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6074 0039d316-1c4b-4281-b951-d872f2087c98
* Add client parameter to the RLZ pingcpu@google.com2008-11-264-0/+9
| | | | | | | | | | | | - Does nothing on regular chrome or chromium installs - up to google_update to put data in 'client' BUG=1503035 Review URL: http://codereview.chromium.org/12657 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6030 0039d316-1c4b-4281-b951-d872f2087c98
* * Delete Desktop and Quick Lauch shortcuts in user level install case also.kuchhal@chromium.org2008-11-251-4/+3
| | | | | | | | BUG=4651 Review URL: http://codereview.chromium.org/12417 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5976 0039d316-1c4b-4281-b951-d872f2087c98
* * Fix system level check. We should check for mode conflict when we are ↵kuchhal@chromium.org2008-11-221-15/+15
| | | | | | | | | | doing an install and not for uninstall. BUG=4651 Review URL: http://codereview.chromium.org/11365 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5883 0039d316-1c4b-4281-b951-d872f2087c98
* * Add support for verbose-logging option in master preferences file.kuchhal@chromium.org2008-11-224-2/+19
| | | | | | | | BUG=1497924 Review URL: http://codereview.chromium.org/11369 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5879 0039d316-1c4b-4281-b951-d872f2087c98
* Base class for setup's html dialogscpu@google.com2008-11-213-13/+291
| | | | | | | | | | | | | | - Couple of things unimplemented to keep the review at a reasonable size - Will be used for a derived EULADialog class - Will be used for the inactive user toast annoy-a-tron - Will be used to warn user of products that conflict with chrome BUG=1468838 BUG=1484308 Review URL: http://codereview.chromium.org/11552 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5853 0039d316-1c4b-4281-b951-d872f2087c98
* Rename Container->Widgetben@chromium.org2008-11-211-1/+1
| | | | | | | | | R=erg review url = http://codereview.chromium.org/11348/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5849 0039d316-1c4b-4281-b951-d872f2087c98
* - If the exe rename command fails try calling Google Update to do the same ↵kuchhal@chromium.org2008-11-205-58/+13
| | | | | | | | | | | | | | job. This works when we are logged into XP/Vista as limited rights user. - Update Google Update idl file that has the recently added COM object. - Add --system-level to the rename command that gets added to the registry. - Remove all the code to uninstall Gears MSI. Now most of the user have been upgraded to Chrome installer that includes gears.dll. BUG=1463346 Review URL: http://codereview.chromium.org/11255 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5791 0039d316-1c4b-4281-b951-d872f2087c98
* Move creation of 'open with' registry keys to installer. We should place ↵kuchhal@chromium.org2008-11-193-2/+35
| | | | | | | | | | nice and not create these keys on every Chrome start just in case user wants a customized open with list. So now we only create these keys at installation or when user choses to make Chrome default browser. Also we clean them up on uninstall. BUG=1190855 Review URL: http://codereview.chromium.org/11491 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5726 0039d316-1c4b-4281-b951-d872f2087c98
* Fix accumulated webkit merge ramifications in the SCons build of Chromesgk@google.com2008-11-162-15/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (plus various renaming ripple effects masked by merge build errors): * Move invocation of recently-created *.scons files from chrome\SConscript into chrome\chrome.scons. * Move the ChromeVersionRC() Builder up into chrome\chrome.scons so it's available in all the newer *.scons files (specifically installer\mini_installer\mini_installer.scons and installer\setup\setup.scons). * Build chrome.dll in a chrome_dll subdirectory, and chrome.exe in a chrome_exe subdirectory, to avoid the name conflict when both try to create a chrome.lib library as part of linking. Re-name them to chrome.{dll,lib,exe} on installation into $DESTINATION_ROOT. * Install underneath Hammer\ ($DESTINATION_ROOT) copies of: themes\default.dll * Portability: link against 'chrome' and 'common' from the LIBS variable, not by explicitly listing 'chrome.lib' and 'common.lib'. * Link interactive_ui_tests.exe links against sdch, not google_update, and add CPPPATH directories for included resource files. * Install a number of necessary ancillary files in explicitly in $DESTINATION_ROOT, not $TARGET_ROOT: chrome.dll, icudt38.dll, rlz.dll, "First Run", themes\*, locales\, Dictionaries. * Add a 'chrome_locales' Alias for the locale .dll files installed into the locales\ subdirectory, and use Requires() to make sure they're installed for chrome.exe regardless of what target is used. * Add a 'chrome_Dictionaries' Alias for the hunspell dictionaries into the Dictionaries\ subdirectory, and use Requires() to make sure they're installed for chrome.exe regardless of what target is used. * Clone() the automated_ui_tests.scons construction environment so its settings don't pollute builds of other targets. * Add explicit dependencies on various generated .rc files (with TODO(sgk) to figure out why they're not picked up by the implicit dependency scan). Review URL: http://codereview.chromium.org/10976 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5549 0039d316-1c4b-4281-b951-d872f2087c98
* More *.scons renaming:sgk@google.com2008-11-146-271/+272
| | | | | | | | | | | | * Rename SConscript to *.scons in the following directories: third_party\{bspatch,bsdiff,lzma_dsk} chrome\installer\{setup,mini_installer,util} * Split mini_installer and installer_unittests into separate *.scons files. * Add using_bspatch.scons and using_lzma_sdk.scons "properties" files, modifying other *.scons files to use them as appropriate. Review URL: http://codereview.chromium.org/10952 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5515 0039d316-1c4b-4281-b951-d872f2087c98
* Add Terminate() to the Process object, have RenderProcessHost use this to ↵brettw@google.com2008-11-143-6/+6
| | | | | | | | | | avoid some more Windows specific code. Move Process and SharedMemory into the base namespace (most changes). Review URL: http://codereview.chromium.org/10895 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5446 0039d316-1c4b-4281-b951-d872f2087c98
* * Fix Google Chrome build broken by r4284.kuchhal@chromium.org2008-11-131-2/+2
| | | | | | | | TBR=cpu Review URL: http://codereview.chromium.org/10686 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5362 0039d316-1c4b-4281-b951-d872f2087c98
* * Need to read version from registry if relaunching browser.kuchhal@chromium.org2008-11-122-0/+4
| | | | | | | | BUG=4316 Review URL: http://codereview.chromium.org/10820 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5281 0039d316-1c4b-4281-b951-d872f2087c98
* * Fix two bugskuchhal@chromium.org2008-11-102-0/+2
| | | | | | | | | | | | - quoted path to chrome exe for Google update to launch - create Chrome guid key if not present. BUG=1443250 TBR=huanr Review URL: http://codereview.chromium.org/10403 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5136 0039d316-1c4b-4281-b951-d872f2087c98
* * fix system level install bugkuchhal@chromium.org2008-11-071-1/+1
| | | | | | Review URL: http://codereview.chromium.org/10224 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5038 0039d316-1c4b-4281-b951-d872f2087c98
* Add installer\util\delete_reg_value_work_item{,_unittest}.ccsgk@google.com2008-11-072-0/+2
| | | | | | | to the SCons build. Review URL: http://codereview.chromium.org/9705 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5037 0039d316-1c4b-4281-b951-d872f2087c98
* * Check the presence of new_chrome.exe before using opv key for version.kuchhal@chromium.org2008-11-072-7/+13
| | | | | | Review URL: http://codereview.chromium.org/10214 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5035 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the new mechanism we are going to use for handling Chromium updateskuchhal@chromium.org2008-11-0720-53/+470
| | | | | | | | | | | | | | | | | | | | while it is in use. This should work for per user as well as system level installs (after some additional changes once Google Update changes are ready). The following scenarios should work now: - If Chromium is using two different profiles at the same time we do not switch chrome executables until all of them are closed. - The old version of Chromium can be run after a restart if the renaming of executables fails. - We will not use environment variable any more but we need to keep it until all the users get this change on their machines. - opv/rename registry keys and new_chrome.exe should always together. If one exist all three should exist because they are created and deleted as one atomic operation (as much as possible given laws of physics). BUG=1463346 Review URL: http://codereview.chromium.org/9436 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4949 0039d316-1c4b-4281-b951-d872f2087c98
* * Never launch Chrome in system level install mode.kuchhal@chromium.org2008-11-071-1/+3
| | | | | | Review URL: http://codereview.chromium.org/9479 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4946 0039d316-1c4b-4281-b951-d872f2087c98
* Adding support to installerdata provided by Google update.huanr@chromium.org2008-11-067-38/+158
| | | | | | | | BUG=1442838 Review URL: http://codereview.chromium.org/9422 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4913 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a crash if you put chrome in a very short directorycpu@google.com2008-11-061-9/+2
| | | | | | | | | | | - like c:\bang. - it will crash at startup on a bad iterator use. BUG=4112 Review URL: http://codereview.chromium.org/9610 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4854 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome\installer\util\master_preferences.cc to the SCons build.sgk@google.com2008-11-051-0/+1
| | | | | | Review URL: http://codereview.chromium.org/9171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4789 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary code to upgrade Chrome open command for existing users.kuchhal@chromium.org2008-11-051-2/+39
| | | | | | | | From 'chrome %1' to 'chrome -- %1'. For more information see r4016 and crbug.com/3808 Review URL: http://codereview.chromium.org/8988 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4713 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes the following bugs1. http://b/issue?id=1447957 For machine ↵ananta@chromium.org2008-11-042-0/+29
| | | | | | | | installs we need to use a different version of the Omaha updater.2. http://b/issue?id=1447951 For Vista we need to elevate while performing the update operation. This only applies to machine installs. Update checks also instantiate the same COM object. However it does not need elevation.Bug=1447957, 1447951R=finnur, kuchhal Review URL: http://codereview.chromium.org/8221 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4705 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring master preference parsing code into installer util sohuanr@chromium.org2008-11-043-0/+150
| | | | | | | | | it can be shared by first run and set up. There is no functionality change in this CL. Review URL: http://codereview.chromium.org/9338 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4688 0039d316-1c4b-4281-b951-d872f2087c98
* Adding visual studio solution files.bradnelson@chromium.org2008-11-041-1/+0
| | | | | | | | | Sandbox is currently having a problem with this so it is disabled. Fixed a few stray items. Review URL: http://codereview.chromium.org/9259 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4525 0039d316-1c4b-4281-b951-d872f2087c98
* On silent uninstall (--force-uninstall) close all Chrome processes without ↵kuchhal@chromium.org2008-11-031-0/+33
| | | | | | | | | | prompting the user. BUG=1445145 Review URL: http://codereview.chromium.org/8943 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4511 0039d316-1c4b-4281-b951-d872f2087c98
* Read Google Update registry keys first from HKCU then from HKLM to handle ↵kuchhal@chromium.org2008-11-031-21/+29
| | | | | | | | | | system level install case. BUG=1455516. Review URL: http://codereview.chromium.org/8974 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4462 0039d316-1c4b-4281-b951-d872f2087c98
* fix buildkuchhal@chromium.org2008-10-311-2/+2
| | | | | | Review URL: http://codereview.chromium.org/8966 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4286 0039d316-1c4b-4281-b951-d872f2087c98
* Consolidate same constant defined in three different places. No change in ↵kuchhal@chromium.org2008-10-314-34/+49
| | | | | | | | chrome.exe size. Review URL: http://codereview.chromium.org/8409 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4284 0039d316-1c4b-4281-b951-d872f2087c98
* Accumulated SCons changes for Windows chrome build, round II:sgk@google.com2008-10-303-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes other recent additions, and doesn't fix everything, but gets significant pieces back on track: * New/additional library dependencies in various test executables (too many to be worth listing). * Portability: put library base names in $LIBS instead of explicitly listing .lib files. * Have interactive_ui re-use various object files from test/ui instead of (re-)listing the .cc files. * Add new files: chrome\browser\bookmarks\bookmark_drag_data.cc chrome\browser\bookmarks\bookmark_drag_utils.cc chrome\browser\bookmarks\bookmark_table_model.cc chrome\browser\browser_trial.cc chrome\browser\download\download_request_manager_unittest.cc chrome\browser\greasmonkey_master.cc chrome\browser\spellcheck_unittest.cc chrome\browser\views\find_bar_view.cc chrome\browser\views\find_bar_win.cc chrome\renderer\greasemonkey_slave.cc * Remove old files: chrome\browser\find_in_page_controller.cc chrome\browser\find_in_page_view.cc chrome\renderer\spellcheck_unittest.cc * Remove relative reference to ../../app/google_update_settings$OBJSUFFIX. * Get rid of by-hand /IMPLIB and /MAP flags. * Prefix / suffix portability in the jscre library. * Rename $LIBXML_DIR/scons => $LIBXML_DIR/DerivedSources. * Add $CHROME_DIR/app/resources to CPPPATH. * Add icu38 directories to CPPPATH for building chrome/views files. Review URL: http://codereview.chromium.org/8742 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4215 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r4205 to track down buildbot unit_tests failure.sgk@google.com2008-10-303-3/+4
| | | | | | Review URL: http://codereview.chromium.org/8730 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4206 0039d316-1c4b-4281-b951-d872f2087c98
* Accumulated SCons changes for Windows chrome build and othersgk@google.com2008-10-303-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | recent additions (doesn't fix everything, but gets significant pieces back on track). * New/additional library dependencies in various test executables (too many to be worth listing). * Portability: put library base names in $LIBS instead of explicitly listing .lib files. * Have interactive_ui re-use various object files from test/ui instead of (re-)listing the .cc files. * Add new files: chrome\browser\bookmarks\bookmark_drag_data.cc chrome\browser\bookmarks\bookmark_drag_utils.cc chrome\browser\bookmarks\bookmark_table_model.cc chrome\browser\browser_trial.cc chrome\browser\download\download_request_manager_unittest.cc chrome\browser\greasmonkey_master.cc chrome\browser\spellcheck_unittest.cc chrome\browser\views\find_bar_view.cc chrome\browser\views\find_bar_win.cc chrome\renderer\greasemonkey_slave.cc * Remove old files: chrome\browser\find_in_page_controller.cc chrome\browser\find_in_page_view.cc chrome\renderer\spellcheck_unittest.cc * Remove relative reference to ../../app/google_update_settings$OBJSUFFIX. * Get rid of by-hand /IMPLIB and /MAP flags. * Prefix / suffix portability in the jscre library. * Rename $LIBXML_DIR/scons => $LIBXML_DIR/DerivedSources. * Add $CHROME_DIR/app/resources to CPPPATH. * Add icu38 directories to CPPPATH for building chrome/views files. Review URL: http://codereview.chromium.org/8725 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4205 0039d316-1c4b-4281-b951-d872f2087c98
* Add command line option to suppress Chrome launch after successful installkuchhal@chromium.org2008-10-297-1066/+1090
| | | | | | | | BUG=1443250 Review URL: http://codereview.chromium.org/8644 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4154 0039d316-1c4b-4281-b951-d872f2087c98
* remove svn:executablekuchhal@chromium.org2008-10-291-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4147 0039d316-1c4b-4281-b951-d872f2087c98
* remove svn:executable propertykuchhal@chromium.org2008-10-291-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4143 0039d316-1c4b-4281-b951-d872f2087c98
* remove svn:executable propertykuchhal@chromium.org2008-10-293-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4142 0039d316-1c4b-4281-b951-d872f2087c98
* Add '--' to Chrome open command linekuchhal@chromium.org2008-10-272-2/+11
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4016 0039d316-1c4b-4281-b951-d872f2087c98
* * Update comments from code review feedback.kuchhal@chromium.org2008-10-271-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4006 0039d316-1c4b-4281-b951-d872f2087c98
* Fix SCons modules build on Windows:sgk@google.com2008-10-252-20/+2
| | | | | | | | | | | | | | | * Add 'midl' Tool module. * Filter out the default OS_WINDOWS= definition from the Hammer modules, which messes up our build. * Fix the $PLATFORMSDK_VISTA definition. * Remove the current directory from the 'base' Alias (avoid cycles). * Remove by-hand addition of .lib, .pdb and .ilk files to the target list when build shared libraries (multiple places). * Comment out a post-action Touch() of the themes/default resource. (Thanks to bradnelson for many of the above individual fixes.) Review URL: http://codereview.chromium.org/8207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3980 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command line option to installer that will let user set Chrome askuchhal@chromium.org2008-10-245-850/+991
| | | | | | default browser. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3961 0039d316-1c4b-4281-b951-d872f2087c98
* code review changekuchhal@chromium.org2008-10-241-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3914 0039d316-1c4b-4281-b951-d872f2087c98