summaryrefslogtreecommitdiffstats
path: root/chrome/installer
Commit message (Collapse)AuthorAgeFilesLines
* NO CODE CHANGE.maruel@google.com2009-03-105-16/+32
| | | | | | | Fix files with lines > 80 cols. Part 2. Review URL: http://codereview.chromium.org/40226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11326 0039d316-1c4b-4281-b951-d872f2087c98
* Snapshotting progress.bradnelson@google.com2009-03-091-0/+2
| | | | | | | | | Got app and unit_tests linking with gyp under windows. Still missing pieces (things don't run). Review URL: http://codereview.chromium.org/39319 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11302 0039d316-1c4b-4281-b951-d872f2087c98
* Script and configs to generate Debian packages from current build.mmoss@chromium.org2009-03-0911-0/+609
| | | | | | | | | Packages are manually generated now (run ./build.sh after a successful static build), but will be integrated into the main build system soon. Review URL: http://codereview.chromium.org/39088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11250 0039d316-1c4b-4281-b951-d872f2087c98
* Snapshoting improvements for building with gyp under windows.bradnelson@google.com2009-03-062-0/+117
| | | | | | | | Added google_update and install utils. Review URL: http://codereview.chromium.org/39204 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11173 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a bug in the criteria checker that caused the 6-month flag to not be ↵gwilson@google.com2009-03-051-72/+32
| | | | | | | | | | | deleted. BUG=8217 R=kuchhal Review URL: http://codereview.chromium.org/27307 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11038 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes CRLF and trailing white spaces.maruel@chromium.org2009-03-0511-476/+476
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10982 0039d316-1c4b-4281-b951-d872f2087c98
* Move files instead of copying them.kuchhal@chromium.org2009-03-0410-7/+562
| | | | | | | | | BUG=1184319,8218 Review URL: http://codereview.chromium.org/39048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10921 0039d316-1c4b-4281-b951-d872f2087c98
* Fix stupid mistake of forgetting negation in if condition.kuchhal@chromium.org2009-03-041-1/+1
| | | | | | | | | BUG=8371 Review URL: http://codereview.chromium.org/39149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10912 0039d316-1c4b-4281-b951-d872f2087c98
* Use actual file system directory for Desktop shortcut instead of virtual folder.kuchhal@chromium.org2009-03-041-1/+2
| | | | | | | | | BUG=8310 Review URL: http://codereview.chromium.org/39087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10895 0039d316-1c4b-4281-b951-d872f2087c98
* Add a set of long-running metrics to Chrome that are sent up only at ↵robertshield@google.com2009-03-049-19/+213
| | | | | | | | uninstall time via the uninstall survey page.These uninstall metrics are collected according to the same opt-in policy as the existing UMA code. They are stored along with other prefs in the browser's Local State file. At uninstall time, the Local State file is copied to a temporary location during the file deletion stage and then read to extract the uninstall metrics. If the user selected to have metrics reported, the uninstall metrics are then sent up to the uninstall survey page that is currently opened. Review URL: http://codereview.chromium.org/27092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10859 0039d316-1c4b-4281-b951-d872f2087c98
* Move chrome/apps/result_codes.h to chrome/common/result_codes.hthestig@chromium.org2009-03-031-2/+1
| | | | | | Review URL: http://codereview.chromium.org/28279 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10761 0039d316-1c4b-4281-b951-d872f2087c98
* Wire chrome shortcuts tooltip (installation)cpu@google.com2009-02-288-12/+37
| | | | | | | | | | | - Not complete since we are waiting for translations - For chromium the tooltip says "Browse the internet" BUG=b/1522969 Review URL: http://codereview.chromium.org/28272 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10666 0039d316-1c4b-4281-b951-d872f2087c98
* Before installing Chrome check that the installation directory doesn't exist ↵kuchhal@chromium.org2009-02-273-17/+45
| | | | | | | | | | | (or can be deleted). BUG=7176 Review URL: http://codereview.chromium.org/27258 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10640 0039d316-1c4b-4281-b951-d872f2087c98
* Fix all places where we used the GetWinVersion functionnsylvain@chromium.org2009-02-252-4/+4
| | | | | | | | | incorrectly. bug:7802 Review URL: http://codereview.chromium.org/28128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10366 0039d316-1c4b-4281-b951-d872f2087c98
* Remove code that adds "Url Protocol" key to registry entrysverrir@chromium.org2009-02-252-4/+12
| | | | | | | | | | | for ChromeHTML. This removes the feature where you can launch Chrome using chromehtml: links in e.g. IE. BUG=5825 Review URL: http://codereview.chromium.org/21477 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10357 0039d316-1c4b-4281-b951-d872f2087c98
* Added master preference to select the appropiate shortcut textcpu@google.com2009-02-243-46/+48
| | | | | | | | | - Simplified ParseDistributionPreferences a bit - Added test for new pref Review URL: http://codereview.chromium.org/27077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10247 0039d316-1c4b-4281-b951-d872f2087c98
* Modifies setup to have all the supported languages available for the ↵gwilson@google.com2009-02-182-9/+124
| | | | | | | | in-application EULA dialog. Review URL: http://codereview.chromium.org/21437 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9989 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mini_installer failing on Windows 7 (issue 7732).mal@chromium.org2009-02-161-2/+1
| | | | | | | | | | | | | | In r9694, nsylvain changed win_util::GetWinVersion to return more specific values for Windows 6.0 and later. InstallUtil::IsOSSupported() needs to handle these new enums. BUG= 7732 R= kuchhal TEST= None Review URL: http://codereview.chromium.org/21384 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9858 0039d316-1c4b-4281-b951-d872f2087c98
* Missing file, broken buildcpu@google.com2009-02-131-0/+24
| | | | | | | | | TBR=huanr Review URL: http://codereview.chromium.org/21335 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9735 0039d316-1c4b-4281-b951-d872f2087c98
* Test for Symantec SEPcpu@google.com2009-02-135-2/+108
| | | | | | | | | | | | - Versions before 11MR3 crash chrome - Still need to wire the code. BUG=38 Review URL: http://codereview.chromium.org/24015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9733 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the executable bit from a bunch of files that shouldn't have had it.evan@chromium.org2009-02-1254-0/+0
| | | | | | | R=tony (looked over my shoulder before I committed) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9683 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bugs related to making Chrome default browser on Vista and also do some ↵kuchhal@chromium.org2009-02-125-82/+57
| | | | | | | | | | | | | | | | cleanup. - Stupid bug where we were failing if there was a space or '-' in the path to setup.exe - Some application still read default browser from Software\Classes\http even on Vista so set that - Some refactoring of apppaths changes to make a method private that doesn't need to be public. - Move constants in shell_util where rest of the shell related constants are. - Remove duplicate attempts to create ChromeHTML key BUG=7568,6732,6504 Review URL: http://codereview.chromium.org/21259 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9667 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the 6-month flag functionality back into the criteria checker,gwilson@google.com2009-02-053-298/+474
| | | | | | | | | | | along with adding support for a boolean parameter that indicates whether the flag should be set or not. BUG=6802 Review URL: http://codereview.chromium.org/18490 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9278 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the dependency checker tool. Rules for a directory did modify their ↵stoyan@chromium.org2009-02-051-0/+3
| | | | | | | | | | directory parent rules. Using copy.copy() solves the problem.Additional fix when "allow-current-directory" rules was not applied if DEPS file is missing. Updated few DEPS file with reasonable rules. To prevent tree closing other dependencies are added. These need to be either legitimated or dependency removed. Review URL: http://codereview.chromium.org/21025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9221 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for 8 Indian languages. jungshik@google.com2009-02-041-0/+8
| | | | | | | | | | | | | | | * Add entries for 8 Indian languages to grd files (<translations> section) * Change the default spellcheck language for new languages to en-US for now. They'll be switched back to the UI language when we have spell check dictionaries for them * Add entries for 8 languages to installer's string offset table. This change will go in after http://codereview.chromium.org/19545 goes in with DEPS file for ICU updated. BUG=4473 Review URL: http://codereview.chromium.org/19761 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9158 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes the usage stats opt-in javascript on the in EULA dialog to return ↵gwilson@google.com2009-02-041-2/+2
| | | | | | | | | | | the correct value when the checkbox is (not) selected. BUG=7368 R=cpu Review URL: http://codereview.chromium.org/21031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9119 0039d316-1c4b-4281-b951-d872f2087c98
* Setting the App Paths registry key at install time for admin users forrobertshield@chromium.org2009-02-025-0/+54
| | | | | | | | | | | | chrome.exe. URL=http://codereview.chromium.org/18560/show BUG=5686 Review URL: http://codereview.chromium.org/19758 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9046 0039d316-1c4b-4281-b951-d872f2087c98
* Register .crx file handler to install Chrome extensions.mpcomplete@google.com2009-01-302-0/+40
| | | | | | | Have files of that type automatically download and open. Review URL: http://codereview.chromium.org/19403 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8995 0039d316-1c4b-4281-b951-d872f2087c98
* Changes references to FilePath to wstring for release branch build.gwilson@google.com2009-01-301-3/+3
| | | | | | | | BUG=none Review URL: http://codereview.chromium.org/19717 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8974 0039d316-1c4b-4281-b951-d872f2087c98
* This CL fixes bugs with EULAcpu@google.com2009-01-296-6/+4
| | | | | | | | | | | | | | - The first run import will trigger the eula again : this requires changes in browser_main.cc so the master prefs are not processed again by the importer process - The launch of setup.exe to show the eula was using a path that only works on developer builds this requires relocating a constant from setup_constants to util_constants BUG=1468838 Review URL: http://codereview.chromium.org/19680 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8928 0039d316-1c4b-4281-b951-d872f2087c98
* Wire the stats consent checkbox of the EULAcpu@google.com2009-01-294-23/+36
| | | | | | | | | | | | - Collected in setup.exe passed to chrome via return code - Depends on an updated oem.html and JS code by Glen BUG=1468838 Review URL: http://codereview.chromium.org/19649 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8866 0039d316-1c4b-4281-b951-d872f2087c98
* Changes the in-application EULA dialog to not require the checkbox be ↵gwilson@google.com2009-01-2944-44/+44
| | | | | | | | checked to accept the EULA. Review URL: http://codereview.chromium.org/19436 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8839 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the localized oem html resources to setupcpu@google.com2009-01-282-12/+15
| | | | | | | | | | | - Only the ones required at this point - Requires official build BUG=1468838 Review URL: http://codereview.chromium.org/19416 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8791 0039d316-1c4b-4281-b951-d872f2087c98
* Adding new EULA dialog translations.gwilson@google.com2009-01-2741-0/+1927
| | | | | | Review URL: http://codereview.chromium.org/19043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8769 0039d316-1c4b-4281-b951-d872f2087c98
* Forgot to use the correct enums on my previous distro CLcpu@google.com2009-01-272-4/+6
| | | | | | | | | | - as pointed by huanr TBR=huanr Review URL: http://codereview.chromium.org/19032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8746 0039d316-1c4b-4281-b951-d872f2087c98
* Wire the eula and the dialog display codecpu@google.com2009-01-2710-19/+223
| | | | | | | | | | | - html, css and js to live in the installer as resources. The right combo of resources is selected based on system lang - currently the approach is to have chrome show the eula by spawing setup.exe --show-eula BUG=1468838 Review URL: http://codereview.chromium.org/18732 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8690 0039d316-1c4b-4281-b951-d872f2087c98
* Prep for generated .vcproj files:sgk@google.com2009-01-231-34/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix minor stylistic inconsistencies in some .vcproj files: * /> tag termination: net\net_resources.vcproj * Add empty <ToolFiles>, <References> and <Globals> sections: net\net_resources.vcproj third_party\zlib\zlib.vcproj third_party\libpng\libpng.vcproj chrome\tools\test\image_diff\image_diff.vcproj * Remove .\ on file names where its use is inconsistent with the rest of the file names in the .vcproj: net\build\net.vcproj net\build\net_unittests.vcproj chrome\installer\util\util.vcproj * Add explicit RootNamespace attribute: chrome\test\automation\automation.vcproj testing\gtest.vcproj * Fix file order in four locales that don't match other locale .vcproj files: chrome\app\locales\da.vcproj chrome\app\locales\he.vcproj chrome\app\locales\zh-TW.vcproj chrome\app\locales\en-US.vcproj * Remove duplicate files from the list: chrome\browser\views\browser_views.vcproj (event_utils.[ch]) Review URL: http://codereview.chromium.org/18555 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8577 0039d316-1c4b-4281-b951-d872f2087c98
* Add the EULA distro paramcpu@google.com2009-01-223-5/+53
| | | | | | | | | - Add basic tests for distro params parsing Review URL: http://codereview.chromium.org/18470 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8477 0039d316-1c4b-4281-b951-d872f2087c98
* Make CommandLine into a normal object, with some statics for getting at the ↵evan@chromium.org2009-01-212-2/+2
| | | | | | | | | | | current process's command line. One explicit goal of this change is to *not* deal with the string/wstring issues at the API on POSIX; the functions are the same as before, which means they remain as broken as before. (I did try to fix the internals, though, so migrating the callers is now possible by adding platform-appropriate hooks.) Review URL: http://codereview.chromium.org/18248 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8347 0039d316-1c4b-4281-b951-d872f2087c98
* Generate all chrome .vcproj files:sgk@google.com2009-01-174-102/+371
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Path name translation (/ to \) of various MSVSTool attributes. * Explicit keyword= arguments to MSVSProject. This will likely go away eventually in favor of uniform behavior. * Add a relative_path_substitutions array that can be used to substitute in Visual Studio variable like $(OutDir). * Add a local_directory_prefix that can be set to './' to only affect files in the current directory. * Additional Keyword ordering in Tool attributes to continue to match the default order Visual Studio generates. * Add a Derived() proxy class that can wrap a File node to tell the .vcproj generation that we want the derived file, not its source(s), in the file list. * In the individual *.scons files, add the necessary files (mostly .h files) to file lists, and update MSVSProject() calls with the additional necessary information. Result is identical .vcproj files modulo the following differences: * Four locales .vcproj files (da, en-US, he and zh-TW) with source file orders that don't match the other locale .vcproj files have re-ordered file lists to match the rest. * Cosmetic XML changes (white space, ending tags) in: chrome/app/chrome_dll.vcproj chrome/app/generated_resources.vcproj net/build/net_resources.vcproj * Removal or addition of ./ prefixes from various files that don't match the other file specifications within their individual .vcproj files: chrome/installer/util/util.vcproj net/build/net.vcproj net/build/net_unittests.vcproj * Add missing empty sections (<ToolFiles>, <References>, <Globals>) for consistency with other .vcproj files: chrome/tools/test/image_diff/image_diff.vcproj third_party/libpng/libpng.vcproj third_party/zlib/zlib.vcproj * Add missing RootNameSpace attribute: chrome/test/automation/automation.vcproj testing/gtest.vcproj * Use && instead of \r\n as a command separator, to sidestep XML-generation problems: chrome/app/chrome_exe.vcproj * Remove unnecessary (?) duplicate files in the file list: chrome/browser/views/browser_views.vcproj (event_utils.cc and event_utils.h were duplicated) Review URL: http://codereview.chromium.org/17603 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8253 0039d316-1c4b-4281-b951-d872f2087c98
* Do not remove quotes around paths in command line to setup.exe.kuchhal@chromium.org2009-01-151-15/+18
| | | | | | | | | BUG=1546676 Review URL: http://codereview.chromium.org/18244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8101 0039d316-1c4b-4281-b951-d872f2087c98
* Write installer success result to the registry even for user level installs.kuchhal@chromium.org2009-01-152-18/+20
| | | | | | | | | BUG=1549439 Review URL: http://codereview.chromium.org/18249 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8056 0039d316-1c4b-4281-b951-d872f2087c98
* Don't launch uninstall survey for forced user-level uninstallskuchhal@chromium.org2009-01-141-2/+4
| | | | | | | | | BUG=1575239 Review URL: http://codereview.chromium.org/18239 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8043 0039d316-1c4b-4281-b951-d872f2087c98
* Call logging::InitLogging. The lack of this was causing some hangs (and ↵erikkay@google.com2009-01-131-2/+0
| | | | | | | | | | | possibly crashes) in ObserverListTest.BUG=6286 This CL has expanded to include some cleanup and refactoring of test_suite and related files, so that this logging change (and other improvements) are applied to all unit tests. Review URL: http://codereview.chromium.org/18003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7977 0039d316-1c4b-4281-b951-d872f2087c98
* Move the installer_unittests.scons file into installer\util,sgk@google.com2009-01-112-10/+11
| | | | | | | to match where the .vcproj file lives. Review URL: http://codereview.chromium.org/17349 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7859 0039d316-1c4b-4281-b951-d872f2087c98
* fix google chrome installer teststc@google.com2009-01-091-6/+6
| | | | | | | | | | | When we updated gtest, this method became private (GTEST_FATAL_FAILURE_). Use the public methods instead. This is only a problem on official builds. Review URL: http://codereview.chromium.org/17440 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7790 0039d316-1c4b-4281-b951-d872f2087c98
* Clear the refferer registry entry upon succesful pingcpu@google.com2009-01-072-5/+22
| | | | | | | | | | | - Is not needed after that point BUG = 1517308 Review URL: http://codereview.chromium.org/16552 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7689 0039d316-1c4b-4281-b951-d872f2087c98
* * Check expand.exe exit code.kuchhal@chromium.org2009-01-061-1/+3
| | | | | | Review URL: http://codereview.chromium.org/17058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7591 0039d316-1c4b-4281-b951-d872f2087c98
* Change the signature of JSONReader::Read() and relatedaa@chromium.org2008-12-291-6/+5
| | | | | | | | | methods to be more friendly to use with scoped_ptr. Change all the callsites. Review URL: http://codereview.chromium.org/16270 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7486 0039d316-1c4b-4281-b951-d872f2087c98
* Mass convert ChromeStaticLibrary -> ChromeLibrary, including pulling the ↵evanm@google.com2008-12-261-1/+1
| | | | | | | | | | | updated ICU dep that uses it as well. Add a SHARED scons command-line flag to build shared libraries. Review URL: http://codereview.chromium.org/16477 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7479 0039d316-1c4b-4281-b951-d872f2087c98