OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // This file contains the definitions of the installer functions that build | 5 // This file contains the definitions of the installer functions that build |
6 // the WorkItemList used to install the application. | 6 // the WorkItemList used to install the application. |
7 | 7 |
8 #include "chrome/installer/setup/install_worker.h" | 8 #include "chrome/installer/setup/install_worker.h" |
9 | 9 |
10 #include <oaidl.h> | 10 #include <oaidl.h> |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 using base::win::RegKey; | 54 using base::win::RegKey; |
55 | 55 |
56 namespace installer { | 56 namespace installer { |
57 | 57 |
58 namespace { | 58 namespace { |
59 | 59 |
60 // The version identifying the work done by setup.exe --configure-user-settings | 60 // The version identifying the work done by setup.exe --configure-user-settings |
61 // on user login by way of Active Setup. Increase this value if the work done | 61 // on user login by way of Active Setup. Increase this value if the work done |
62 // in setup_main.cc's handling of kConfigureUserSettings changes and should be | 62 // in setup_main.cc's handling of kConfigureUserSettings changes and should be |
63 // executed again for all users. | 63 // executed again for all users. |
64 const wchar_t kActiveSetupVersion[] = L"24,0,0,0"; | 64 const wchar_t kActiveSetupVersion[] = L"43,0,0,0"; |
65 | 65 |
66 // Although the UUID of the ChromeFrame class is used for the "current" value, | 66 // Although the UUID of the ChromeFrame class is used for the "current" value, |
67 // this is done only as a convenience; there is no need for the GUID of the Low | 67 // this is done only as a convenience; there is no need for the GUID of the Low |
68 // Rights policies to match the ChromeFrame class's GUID. Hence, it is safe to | 68 // Rights policies to match the ChromeFrame class's GUID. Hence, it is safe to |
69 // use this completely unrelated GUID for the "old" policies. | 69 // use this completely unrelated GUID for the "old" policies. |
70 const wchar_t kIELowRightsPolicyOldGuid[] = | 70 const wchar_t kIELowRightsPolicyOldGuid[] = |
71 L"{6C288DD7-76FB-4721-B628-56FAC252E199}"; | 71 L"{6C288DD7-76FB-4721-B628-56FAC252E199}"; |
72 | 72 |
73 const wchar_t kElevationPolicyKeyPath[] = | 73 const wchar_t kElevationPolicyKeyPath[] = |
74 L"SOFTWARE\\Microsoft\\Internet Explorer\\Low Rights\\ElevationPolicy\\"; | 74 L"SOFTWARE\\Microsoft\\Internet Explorer\\Low Rights\\ElevationPolicy\\"; |
(...skipping 1486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1561 // Unconditionally remove the legacy Quick Enable command from the binaries. | 1561 // Unconditionally remove the legacy Quick Enable command from the binaries. |
1562 // Do this even if multi-install Chrome isn't installed to ensure that it is | 1562 // Do this even if multi-install Chrome isn't installed to ensure that it is |
1563 // not left behind in any case. | 1563 // not left behind in any case. |
1564 work_item_list->AddDeleteRegKeyWorkItem( | 1564 work_item_list->AddDeleteRegKeyWorkItem( |
1565 installer_state.root_key(), cmd_key, KEY_WOW64_32KEY) | 1565 installer_state.root_key(), cmd_key, KEY_WOW64_32KEY) |
1566 ->set_log_message("removing " + base::UTF16ToASCII(kCmdQuickEnableCf) + | 1566 ->set_log_message("removing " + base::UTF16ToASCII(kCmdQuickEnableCf) + |
1567 " command"); | 1567 " command"); |
1568 } | 1568 } |
1569 | 1569 |
1570 } // namespace installer | 1570 } // namespace installer |
OLD | NEW |