OLD | NEW |
1 { | 1 { |
2 "states": [ | 2 "states": [ |
3 ["no_pv", ["chrome_user_no_pv.prop", | 3 ["no_pv", ["chrome_user_no_pv.prop", |
4 "chrome_canary_no_pv.prop", | 4 "chrome_canary_no_pv.prop", |
5 "chrome_system_no_pv.prop"]], | 5 "chrome_system_no_pv.prop"]], |
6 ["clean", ["chrome_user_not_installed.prop", | 6 ["clean", ["chrome_user_not_installed.prop", |
7 "chrome_canary_not_installed.prop", | 7 "chrome_canary_not_installed.prop", |
8 "chrome_system_not_installed.prop", | 8 "chrome_system_not_installed.prop", |
9 "chrome_user_not_inuse.prop", | 9 "chrome_user_not_inuse.prop", |
10 "chrome_canary_not_inuse.prop", | 10 "chrome_canary_not_inuse.prop", |
11 "chrome_system_not_inuse.prop"]], | 11 "chrome_system_not_inuse.prop"]], |
12 ["chrome_user_installed_not_inuse", ["chrome_user_installed.prop", | 12 ["chrome_user_installed_not_inuse", ["chrome_user_installed.prop", |
13 "chrome_canary_not_installed.prop", | 13 "chrome_canary_not_installed.prop", |
14 "chrome_system_not_installed.prop", | 14 "chrome_system_not_installed.prop", |
15 "chrome_user_not_inuse.prop", | 15 "chrome_user_not_inuse.prop", |
16 "chrome_canary_not_inuse.prop", | 16 "chrome_canary_not_inuse.prop", |
17 "chrome_system_not_inuse.prop"]], | 17 "chrome_system_not_inuse.prop"]], |
18 ["chrome_canary_installed_not_inuse", ["chrome_user_not_installed.prop", | 18 ["chrome_canary_installed_not_inuse", ["chrome_user_not_installed.prop", |
19 "chrome_canary_installed.prop", | 19 "chrome_canary_installed.prop", |
20 "chrome_system_not_installed.prop", | 20 "chrome_system_not_installed.prop", |
21 "chrome_user_not_inuse.prop", | 21 "chrome_user_not_inuse.prop", |
22 "chrome_canary_not_inuse.prop", | 22 "chrome_canary_not_inuse.prop", |
23 "chrome_system_not_inuse.prop"]], | 23 "chrome_system_not_inuse.prop"]], |
24 ["chrome_single_user_installed_not_inuse", | 24 ["chrome_multi_user_installed_not_inuse", |
25 ["chrome_single_user_installed.prop", | 25 ["chrome_multi_user_installed.prop", |
26 "chrome_canary_not_installed.prop", | 26 "chrome_canary_not_installed.prop", |
27 "chrome_system_not_installed.prop", | 27 "chrome_system_not_installed.prop", |
28 "chrome_user_not_inuse.prop", | 28 "chrome_user_not_inuse.prop", |
29 "chrome_canary_not_inuse.prop", | 29 "chrome_canary_not_inuse.prop", |
30 "chrome_system_not_inuse.prop"]], | 30 "chrome_system_not_inuse.prop"]], |
31 ["chrome_system_installed_not_inuse", ["chrome_user_not_installed.prop", | 31 ["chrome_system_installed_not_inuse", ["chrome_user_not_installed.prop", |
32 "chrome_canary_not_installed.prop", | 32 "chrome_canary_not_installed.prop", |
33 "chrome_system_installed.prop", | 33 "chrome_system_installed.prop", |
34 "chrome_user_not_inuse.prop", | 34 "chrome_user_not_inuse.prop", |
35 "chrome_canary_not_inuse.prop", | 35 "chrome_canary_not_inuse.prop", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 "chrome_canary_not_inuse.prop", | 73 "chrome_canary_not_inuse.prop", |
74 "chrome_system_not_inuse.prop"]], | 74 "chrome_system_not_inuse.prop"]], |
75 ["chrome_system_updated_not_inuse", ["chrome_user_not_installed.prop", | 75 ["chrome_system_updated_not_inuse", ["chrome_user_not_installed.prop", |
76 "chrome_canary_not_installed.prop", | 76 "chrome_canary_not_installed.prop", |
77 "chrome_system_updated.prop", | 77 "chrome_system_updated.prop", |
78 "chrome_user_not_inuse.prop", | 78 "chrome_user_not_inuse.prop", |
79 "chrome_canary_not_inuse.prop", | 79 "chrome_canary_not_inuse.prop", |
80 "chrome_system_not_inuse.prop"]] | 80 "chrome_system_not_inuse.prop"]] |
81 ], | 81 ], |
82 "actions": [ | 82 "actions": [ |
83 ["delete_user_chrome_lastrun", | |
84 "reg.exe delete \"HKEY_CURRENT_USER\\$CHROME_CLIENT_STATE_KEY\" /v lastrun
/f /reg:32"], | |
85 ["install_chrome_canary", | 83 ["install_chrome_canary", |
86 "\"$MINI_INSTALLER\" --chrome-sxs --verbose-logging --do-not-launch-chrome"
], | 84 "\"$MINI_INSTALLER\" --chrome-sxs --verbose-logging --do-not-launch-chrome"
], |
87 ["install_chrome_single_user", | 85 ["install_chrome_system", |
| 86 "\"$MINI_INSTALLER\" --verbose-logging --system-level --do-not-launch-chrom
e"], |
| 87 ["install_chrome_user", |
88 "\"$MINI_INSTALLER\" --verbose-logging --do-not-launch-chrome"], | 88 "\"$MINI_INSTALLER\" --verbose-logging --do-not-launch-chrome"], |
89 ["install_chrome_system", | 89 ["make_chrome_user_multi", |
90 "\"$MINI_INSTALLER\" --chrome --multi-install --verbose-logging --system-le
vel --do-not-launch-chrome"], | 90 "python make_chrome_multi.py --chrome-long-name \"$CHROME_LONG_NAME\" --chr
ome-clients-key \"$CHROME_UPDATE_REGISTRY_SUBKEY\" --chrome-client-state-key \"$
CHROME_CLIENT_STATE_KEY\" --binaries-clients-key \"$BINARIES_UPDATE_REGISTRY_SUB
KEY\""], |
91 ["install_chrome_user", | |
92 "\"$MINI_INSTALLER\" --chrome --multi-install --verbose-logging --do-not-la
unch-chrome"], | |
93 ["kill_user_binaries", | 91 ["kill_user_binaries", |
94 "reg.exe delete \"HKEY_CURRENT_USER\\$BINARIES_UPDATE_REGISTRY_SUBKEY\" /v
pv /f /reg:32"], | 92 "reg.exe delete \"HKEY_CURRENT_USER\\$BINARIES_UPDATE_REGISTRY_SUBKEY\" /v
pv /f /reg:32"], |
95 ["kill_user_chrome", | 93 ["kill_user_chrome", |
96 "reg.exe delete \"HKEY_CURRENT_USER\\$CHROME_UPDATE_REGISTRY_SUBKEY\" /v pv
/f /reg:32"], | 94 "reg.exe delete \"HKEY_CURRENT_USER\\$CHROME_UPDATE_REGISTRY_SUBKEY\" /v pv
/f /reg:32"], |
97 ["launch_chrome_canary", | 95 ["launch_chrome_canary", |
98 "python launch_chrome.py \"$LOCAL_APPDATA\\$CHROME_DIR_SXS\\Application\\ch
rome.exe\""], | 96 "python launch_chrome.py \"$LOCAL_APPDATA\\$CHROME_DIR_SXS\\Application\\ch
rome.exe\""], |
99 ["launch_chrome_system", | 97 ["launch_chrome_system", |
100 "python launch_chrome.py \"$PROGRAM_FILES\\$CHROME_DIR\\Application\\chrome
.exe\""], | 98 "python launch_chrome.py \"$PROGRAM_FILES\\$CHROME_DIR\\Application\\chrome
.exe\""], |
101 ["launch_chrome_user", | 99 ["launch_chrome_user", |
102 "python launch_chrome.py \"$LOCAL_APPDATA\\$CHROME_DIR\\Application\\chrome
.exe\""], | 100 "python launch_chrome.py \"$LOCAL_APPDATA\\$CHROME_DIR\\Application\\chrome
.exe\""], |
103 ["quit_chrome_canary", | 101 ["quit_chrome_canary", |
104 "python quit_chrome.py \"$LOCAL_APPDATA\\$CHROME_DIR_SXS\\Application\\chro
me.exe\""], | 102 "python quit_chrome.py \"$LOCAL_APPDATA\\$CHROME_DIR_SXS\\Application\\chro
me.exe\""], |
105 ["quit_chrome_system", | 103 ["quit_chrome_system", |
106 "python quit_chrome.py \"$PROGRAM_FILES\\$CHROME_DIR\\Application\\chrome.e
xe\""], | 104 "python quit_chrome.py \"$PROGRAM_FILES\\$CHROME_DIR\\Application\\chrome.e
xe\""], |
107 ["quit_chrome_user", | 105 ["quit_chrome_user", |
108 "python quit_chrome.py \"$LOCAL_APPDATA\\$CHROME_DIR\\Application\\chrome.e
xe\""], | 106 "python quit_chrome.py \"$LOCAL_APPDATA\\$CHROME_DIR\\Application\\chrome.e
xe\""], |
109 ["uninstall_chrome_canary", | 107 ["uninstall_chrome_canary", |
110 "python uninstall_chrome.py --chrome-long-name=\"$CHROME_LONG_NAME_SXS\""], | 108 "python uninstall_chrome.py --chrome-long-name=\"$CHROME_LONG_NAME_SXS\""], |
111 ["uninstall_chrome_system", | 109 ["uninstall_chrome_system", |
112 "python uninstall_chrome.py --chrome-long-name=\"$CHROME_LONG_NAME\" --syst
em-level"], | 110 "python uninstall_chrome.py --chrome-long-name=\"$CHROME_LONG_NAME\" --syst
em-level"], |
113 ["uninstall_chrome_user", | 111 ["uninstall_chrome_user", |
114 "python uninstall_chrome.py --chrome-long-name=\"$CHROME_LONG_NAME\""], | 112 "python uninstall_chrome.py --chrome-long-name=\"$CHROME_LONG_NAME\""], |
115 ["update_chrome_canary", | 113 ["update_chrome_canary", |
116 "\"$NEXT_VERSION_MINI_INSTALLER\" --chrome-sxs --verbose-logging --do-not-l
aunch-chrome"], | 114 "\"$NEXT_VERSION_MINI_INSTALLER\" --chrome-sxs --verbose-logging --do-not-l
aunch-chrome"], |
117 ["update_chrome_system", | 115 ["update_chrome_system", |
118 "\"$NEXT_VERSION_MINI_INSTALLER\" --multi-install --verbose-logging --syste
m-level --do-not-launch-chrome"], | 116 "\"$NEXT_VERSION_MINI_INSTALLER\" --verbose-logging --system-level --do-not
-launch-chrome"], |
119 ["update_chrome_user", | 117 ["update_chrome_user", |
120 "\"$NEXT_VERSION_MINI_INSTALLER\" --multi-install --verbose-logging --do-no
t-launch-chrome"], | 118 "\"$NEXT_VERSION_MINI_INSTALLER\" --verbose-logging --do-not-launch-chrome"
] |
121 ["update_multi_chrome_user", | |
122 "\"$MINI_INSTALLER\" --multi-install --verbose-logging --do-not-launch-chro
me"], | |
123 ["update_user_chrome_lastrun", | |
124 "python update_lastrun.py \"$CHROME_CLIENT_STATE_KEY\""] | |
125 ], | 119 ], |
126 "tests": [ | 120 "tests": [ |
127 { | 121 { |
128 "name": "RepairChromeStrandedBinaries", | 122 "name": "ChromeUserLevel", |
129 "description": "Verifies that a multi-install update will repair Chrome if
Chrome is missing from the Clients key yet appears to be actively used.", | 123 "description": "Verifies that user-level Chrome can be installed and unins
talled.", |
130 "traversal": [ | 124 "traversal": [ |
131 "no_pv", | 125 "no_pv", |
132 "install_chrome_user", "chrome_user_installed_not_inuse", | 126 "install_chrome_user", "chrome_user_installed_not_inuse", |
133 "update_user_chrome_lastrun", "chrome_user_installed_not_inuse", | |
134 "kill_user_chrome", "no_chrome_user", | |
135 "update_multi_chrome_user", "chrome_user_installed_not_inuse", | |
136 "uninstall_chrome_user", "clean" | |
137 ] | |
138 }, | |
139 { | |
140 "name": "RemoveStrandedBinaries", | |
141 "description": "Verifies that a multi-install update will uninstall Chrome
and the binaries if Chrome is missing from the Clients key and does not appear
to be actively used.", | |
142 "traversal": [ | |
143 "no_pv", | |
144 "install_chrome_user", "chrome_user_installed_not_inuse", | |
145 "update_user_chrome_lastrun", "chrome_user_installed_not_inuse", | |
146 "delete_user_chrome_lastrun", "chrome_user_installed_not_inuse", | |
147 "kill_user_chrome", "no_chrome_user", | |
148 "update_multi_chrome_user", "clean" | |
149 ] | |
150 }, | |
151 { | |
152 "name": "MultiToSingle", | |
153 "description": "Verifies that a single-install update on top of multi-inst
all Chrome will migrate.", | |
154 "traversal": [ | |
155 "no_pv", | |
156 "install_chrome_user", "chrome_user_installed_not_inuse", | |
157 "install_chrome_single_user", "chrome_single_user_installed_not_inuse", | |
158 "uninstall_chrome_user", "clean" | |
159 ] | |
160 }, | |
161 { | |
162 "name": "MultiToSingleNoBinaries", | |
163 "description": "Verifies that a single-install update on top of multi-inst
all Chrome will migrate when the binaries are missing from the Clients key.", | |
164 "traversal": [ | |
165 "no_pv", | |
166 "install_chrome_user", "chrome_user_installed_not_inuse", | |
167 "kill_user_binaries", "no_chrome_user_binaries", | |
168 "install_chrome_single_user", "chrome_single_user_installed_not_inuse", | |
169 "uninstall_chrome_user", "clean" | |
170 ] | |
171 }, | |
172 { | |
173 "name": "MultiToSingleNoChromeRepairActive", | |
174 "description": "Verifies that a single-install update on top of multi-inst
all Chrome will migrate when Chrome is missing from the Clients key yet appears
to be actively used.", | |
175 "traversal": [ | |
176 "no_pv", | |
177 "install_chrome_user", "chrome_user_installed_not_inuse", | |
178 "update_user_chrome_lastrun", "chrome_user_installed_not_inuse", | |
179 "kill_user_chrome", "no_chrome_user", | |
180 "install_chrome_single_user", "chrome_single_user_installed_not_inuse", | |
181 "uninstall_chrome_user", "clean" | |
182 ] | |
183 }, | |
184 { | |
185 "name": "MultiToSingleNoChromeRepairInactive", | |
186 "description": "Verifies that a single-install update on top of multi-inst
all Chrome will migrate if Chrome is missing from the Clients key and does not a
ppear to be actively used.", | |
187 "traversal": [ | |
188 "no_pv", | |
189 "install_chrome_user", "chrome_user_installed_not_inuse", | |
190 "update_user_chrome_lastrun", "chrome_user_installed_not_inuse", | |
191 "delete_user_chrome_lastrun", "chrome_user_installed_not_inuse", | |
192 "kill_user_chrome", "no_chrome_user", | |
193 "install_chrome_single_user", "chrome_single_user_installed_not_inuse", | |
194 "uninstall_chrome_user", "clean" | |
195 ] | |
196 }, | |
197 { | |
198 "name": "ChromeUserLevel", | |
199 "description": "Verifies that multi-install user-level Chrome can be insta
lled and uninstalled.", | |
200 "traversal": [ | |
201 "no_pv", | |
202 "install_chrome_user", "chrome_user_installed_not_inuse", | |
203 "uninstall_chrome_user", "clean" | 127 "uninstall_chrome_user", "clean" |
204 ] | 128 ] |
205 }, | 129 }, |
206 { | 130 { |
207 "name": "ChromeUserLevelUpdate", | 131 "name": "ChromeUserLevelUpdate", |
208 "description": "Verifies that multi-install user-level Chrome can be updat
ed.", | 132 "description": "Verifies that user-level Chrome can be updated.", |
209 "traversal": [ | 133 "traversal": [ |
210 "no_pv", | 134 "no_pv", |
211 "install_chrome_user", "chrome_user_installed_not_inuse", | 135 "install_chrome_user", "chrome_user_installed_not_inuse", |
212 "update_chrome_user", "chrome_user_updated_not_inuse", | 136 "update_chrome_user", "chrome_user_updated_not_inuse", |
213 "uninstall_chrome_user", "clean" | 137 "uninstall_chrome_user", "clean" |
214 ] | 138 ] |
215 }, | 139 }, |
216 { | 140 { |
217 "name": "ChromeCanary", | 141 "name": "ChromeCanary", |
218 "description": "Verifies that Chrome SxS can be installed and uninstalled.
", | 142 "description": "Verifies that Chrome SxS can be installed and uninstalled.
", |
(...skipping 10 matching lines...) Expand all Loading... |
229 "condition": "$SUPPORTS_SXS", | 153 "condition": "$SUPPORTS_SXS", |
230 "traversal": [ | 154 "traversal": [ |
231 "no_pv", | 155 "no_pv", |
232 "install_chrome_canary", "chrome_canary_installed_not_inuse", | 156 "install_chrome_canary", "chrome_canary_installed_not_inuse", |
233 "update_chrome_canary", "chrome_canary_updated_not_inuse", | 157 "update_chrome_canary", "chrome_canary_updated_not_inuse", |
234 "uninstall_chrome_canary", "clean" | 158 "uninstall_chrome_canary", "clean" |
235 ] | 159 ] |
236 }, | 160 }, |
237 { | 161 { |
238 "name": "ChromeSystemLevel", | 162 "name": "ChromeSystemLevel", |
239 "description": "Verifies that multi-install system-level Chrome can be ins
talled and uninstalled.", | 163 "description": "Verifies that system-level Chrome can be installed and uni
nstalled.", |
240 "traversal": [ | 164 "traversal": [ |
241 "no_pv", | 165 "no_pv", |
242 "install_chrome_system", "chrome_system_installed_not_inuse", | 166 "install_chrome_system", "chrome_system_installed_not_inuse", |
243 "uninstall_chrome_system", "clean" | 167 "uninstall_chrome_system", "clean" |
244 ] | 168 ] |
245 }, | 169 }, |
246 { | 170 { |
247 "name": "ChromeSystemLevelUpdate", | 171 "name": "ChromeSystemLevelUpdate", |
248 "description": "Verifies that multi-install system-level Chrome can be upd
ated.", | 172 "description": "Verifies that system-level Chrome can be updated.", |
249 "traversal": [ | 173 "traversal": [ |
250 "no_pv", | 174 "no_pv", |
251 "install_chrome_system", "chrome_system_installed_not_inuse", | 175 "install_chrome_system", "chrome_system_installed_not_inuse", |
252 "update_chrome_system", "chrome_system_updated_not_inuse", | 176 "update_chrome_system", "chrome_system_updated_not_inuse", |
253 "uninstall_chrome_system", "clean" | 177 "uninstall_chrome_system", "clean" |
254 ] | 178 ] |
255 }, | 179 }, |
256 { | 180 { |
257 "name": "ChromeUserLevelWithCanary", | 181 "name": "ChromeUserLevelWithCanary", |
258 "description": "Verifies that multi-install user-level Chrome and Chrome S
xS can be installed simultaneously.", | 182 "description": "Verifies that user-level Chrome and Chrome SxS can be inst
alled simultaneously.", |
259 "condition": "$SUPPORTS_SXS", | 183 "condition": "$SUPPORTS_SXS", |
260 "traversal": [ | 184 "traversal": [ |
261 "no_pv", | 185 "no_pv", |
262 "install_chrome_user", "chrome_user_installed_not_inuse", | 186 "install_chrome_user", "chrome_user_installed_not_inuse", |
263 "install_chrome_canary", "chrome_user_and_canary_installed_not_inuse", | 187 "install_chrome_canary", "chrome_user_and_canary_installed_not_inuse", |
264 "uninstall_chrome_user", "chrome_canary_installed_not_inuse", | 188 "uninstall_chrome_user", "chrome_canary_installed_not_inuse", |
265 "uninstall_chrome_canary", "clean" | 189 "uninstall_chrome_canary", "clean" |
266 ] | 190 ] |
| 191 }, |
| 192 { |
| 193 "name": "MigrateMultiSimple", |
| 194 "description": "Verifies that an update on top of multi-install Chrome wil
l migrate.", |
| 195 "traversal": [ |
| 196 "no_pv", |
| 197 "install_chrome_user", "chrome_user_installed_not_inuse", |
| 198 "make_chrome_user_multi", "chrome_multi_user_installed_not_inuse", |
| 199 "update_chrome_user", "chrome_user_updated_not_inuse", |
| 200 "uninstall_chrome_user", "clean" |
| 201 ] |
| 202 }, |
| 203 { |
| 204 "name": "MigrateMultiStrandedBinariesOnUpdate", |
| 205 "description": "Verifies that an update on top of multi-install Chrome whe
re Chrome is missing from the Clients key will repair and migrate.", |
| 206 "traversal": [ |
| 207 "no_pv", |
| 208 "install_chrome_user", "chrome_user_installed_not_inuse", |
| 209 "make_chrome_user_multi", "chrome_multi_user_installed_not_inuse", |
| 210 "kill_user_chrome", "no_chrome_user", |
| 211 "update_chrome_user", "chrome_user_updated_not_inuse", |
| 212 "uninstall_chrome_user", "clean" |
| 213 ] |
| 214 }, |
| 215 { |
| 216 "name": "MigrateMultiStrandedBinariesOnInstall", |
| 217 "description": "Verifies that a same-version install on top of multi-insta
ll Chrome where Chrome is missing from the Clients key will repair and migrate."
, |
| 218 "traversal": [ |
| 219 "no_pv", |
| 220 "install_chrome_user", "chrome_user_installed_not_inuse", |
| 221 "make_chrome_user_multi", "chrome_multi_user_installed_not_inuse", |
| 222 "kill_user_chrome", "no_chrome_user", |
| 223 "install_chrome_user", "chrome_user_installed_not_inuse", |
| 224 "uninstall_chrome_user", "clean" |
| 225 ] |
| 226 }, |
| 227 { |
| 228 "name": "MigrateMultiNoBinaries", |
| 229 "description": "Verifies that an update on top of multi-install Chrome whe
re the binaries are missing from the Clients key will repair and migrate.", |
| 230 "traversal": [ |
| 231 "no_pv", |
| 232 "install_chrome_user", "chrome_user_installed_not_inuse", |
| 233 "make_chrome_user_multi", "chrome_multi_user_installed_not_inuse", |
| 234 "kill_user_binaries", "no_chrome_user_binaries", |
| 235 "update_chrome_user", "chrome_user_updated_not_inuse", |
| 236 "uninstall_chrome_user", "clean" |
| 237 ] |
267 } | 238 } |
268 ] | 239 ] |
269 } | 240 } |
OLD | NEW |