OLD | NEW |
1 <h1>Other Deployment Options</h1> | 1 <h1>Other Deployment Options</h1> |
2 | 2 |
3 | 3 |
4 <p> | 4 <p> |
5 Usually, users install their own extensions. | 5 Usually, users install their own extensions. |
6 But sometimes you might want an extension | 6 But sometimes you might want an extension |
7 to be installed automatically. | 7 to be installed automatically. |
8 Here are two typical cases: | 8 Here are two typical cases: |
9 </p> | 9 </p> |
10 | 10 |
(...skipping 20 matching lines...) Expand all Loading... |
31 | 31 |
32 <ul> | 32 <ul> |
33 <li> Using a preferences JSON file </li> | 33 <li> Using a preferences JSON file </li> |
34 <li> Using the Windows registry (Windows only) </li> | 34 <li> Using the Windows registry (Windows only) </li> |
35 </ul> | 35 </ul> |
36 | 36 |
37 <p> | 37 <p> |
38 Both ways support installing an extension from a <code>.crx</code> extension | 38 Both ways support installing an extension from a <code>.crx</code> extension |
39 file on the user's computer. The preferences JSON file also supports installing | 39 file on the user's computer. The preferences JSON file also supports installing |
40 an extension hosted at an | 40 an extension hosted at an |
41 <a href="autoupdate.html#H2-1">update URL</a>. | 41 <a href="autoupdate.html#update_url">update URL</a>. |
42 See <a href="hosting.html">hosting</a> for details on hosting an extension. | 42 See <a href="hosting.html">hosting</a> for details on hosting an extension. |
43 </p> | 43 </p> |
44 | 44 |
45 <h2 id="prereqs">Before you begin</h2> | 45 <h2 id="prereqs">Before you begin</h2> |
46 | 46 |
47 <p> | 47 <p> |
48 First, package a | 48 First, package a |
49 <a href="packaging.html"><code>.crx</code> file</a> | 49 <a href="packaging.html"><code>.crx</code> file</a> |
50 and make sure that it installs successfully. | 50 and make sure that it installs successfully. |
51 </p> | 51 </p> |
52 <p> | 52 <p> |
53 If you wish to install from an | 53 If you wish to install from an |
54 <a href="autoupdate.html#H2-1">update URL</a>, ensure that the extension | 54 <a href="autoupdate.html#update_url">update URL</a>, ensure that the extension |
55 is properly <a href="hosting.html">hosted</a>. | 55 is properly <a href="hosting.html">hosted</a>. |
56 </p> | 56 </p> |
57 | 57 |
58 <p> | 58 <p> |
59 Then, before you edit the preferences file or the registry, | 59 Then, before you edit the preferences file or the registry, |
60 make a note of the following: | 60 make a note of the following: |
61 </p> | 61 </p> |
62 | 62 |
63 <ul> | 63 <ul> |
64 <li> The intended <b>location</b> of the extension's <code>.crx</code> file, | 64 <li> The intended <b>location</b> of the extension's <code>.crx</code> file, |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 <p> | 248 <p> |
249 This section answers common questions about external extensions. | 249 This section answers common questions about external extensions. |
250 </p> | 250 </p> |
251 | 251 |
252 <br> | 252 <br> |
253 | 253 |
254 <p><b>Can I specify a URL as a path to the external extension?</b> </p> | 254 <p><b>Can I specify a URL as a path to the external extension?</b> </p> |
255 <p>Yes, if you use a <a href="#preferences">preferences JSON</a> file. The | 255 <p>Yes, if you use a <a href="#preferences">preferences JSON</a> file. The |
256 extension must be hosted as explained in <a href="hosting.html">hosting</a>. | 256 extension must be hosted as explained in <a href="hosting.html">hosting</a>. |
257 Use the "external_update_url" property to point to an | 257 Use the "external_update_url" property to point to an |
258 <a href="autoupdate.html#H2-2">update manifest</a> that has the URL for your | 258 <a href="autoupdate.html#update_manifest">update manifest</a> that has the URL f
or your |
259 extension.</p> | 259 extension.</p> |
260 | 260 |
261 <br> | 261 <br> |
262 | 262 |
263 <p><b>What are some common mistakes when installing with the preferences | 263 <p><b>What are some common mistakes when installing with the preferences |
264 file?</b></p> | 264 file?</b></p> |
265 <ul> | 265 <ul> |
266 <li> | 266 <li> |
267 Not specifying the same id/version | 267 Not specifying the same id/version |
268 as the one listed in the <code>.crx</code> </li> | 268 as the one listed in the <code>.crx</code> </li> |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 external extension is blacklisted. </p> | 304 external extension is blacklisted. </p> |
305 | 305 |
306 <br> | 306 <br> |
307 | 307 |
308 <p><b>How do I get off the blacklist?</b> </p> | 308 <p><b>How do I get off the blacklist?</b> </p> |
309 <p>If the user uninstalls your extension, you should respect that | 309 <p>If the user uninstalls your extension, you should respect that |
310 decision. However, if you (the developer) accidentally uninstalled | 310 decision. However, if you (the developer) accidentally uninstalled |
311 your extension through the UI, | 311 your extension through the UI, |
312 you can remove the blacklist tag | 312 you can remove the blacklist tag |
313 by installing the extension normally | 313 by installing the extension normally |
314 through the UI, and then uninstalling it. </p> | 314 through the UI, and then uninstalling it. </p> |
OLD | NEW |