OLD | NEW |
---|---|
1 <div id="pageData-name" class="pageData">Other Deployment Options</div> | 1 <div id="pageData-name" class="pageData">Other Deployment Options</div> |
2 <div id="pageData-showTOC" class="pageData">true</div> | 2 <div id="pageData-showTOC" class="pageData">true</div> |
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
85 | 85 |
86 </p> | 86 </p> |
87 | 87 |
88 <ol> | 88 <ol> |
89 <li>If you are installing from a file, make the <code>.crx</code> extension | 89 <li>If you are installing from a file, make the <code>.crx</code> extension |
90 file available to the machine you want to install the extension on. | 90 file available to the machine you want to install the extension on. |
91 (Copy it to a local directory or to a network share for example, | 91 (Copy it to a local directory or to a network share for example, |
92 <code>\\server\share\extension.crx</code> | 92 <code>\\server\share\extension.crx</code> |
93 or <code>/home/share/extension.crx</code>.) | 93 or <code>/home/share/extension.crx</code>.) |
94 </li> | 94 </li> |
95 <li>Locate the <code>external_extensions.json</code> file | 95 <li>Locate the <code>external_extensions.json</code> file. |
96 under the Google Chrome installation directory. | |
97 If the file doesn't exist, create it. | 96 If the file doesn't exist, create it. |
98 The location depends on the operating system. | 97 The location depends on the operating system. |
99 <dl> | 98 <dl> |
100 <dt> Windows: </dt> | 99 <dt> Windows: </dt> |
101 <dd> <code><em>chrome_root</em>\Application\<em>chrome_version</em>\Extensio ns\</code> | 100 <dd> <code><em>chrome_root</em>\Application\<em>chrome_version</em>\Extensio ns\</code> |
102 <br /> | 101 <br /> |
103 Example: <code>c:\Users\Me\AppData\Local\Google\Chrome\Application\6.0.422.0 \Extensions\</code> | 102 Example: <code>c:\Users\Me\AppData\Local\Google\Chrome\Application\6.0.422.0 \Extensions\</code> |
104 </dd> | 103 </dd> |
105 <dt> Mac OS X: </dt> | 104 <dt> Mac OS X: </dt> |
106 <dd> <code>/Applications/Google Chrome.app/Contents/Extensions/</code> </dd> | 105 <dd> <code>/Library/Application Support/Google/Chrome/External Extensions/</ code> </dd> |
106 <p class="note"><b>Note:</b> The external extensions file is read only if ev ery directory in the path is owned by the user <code>root</code>, has the group <code>admin</code>, and is not world readable. The path must also be free of sy mbolic links. These restrictions prevent an unprivileged user from causing exte nsions to be installed for all users. See <a href="#troubleshooting">troublesho oting</a> for details.</p> | |
107 <p class="note"> | |
108 <b>Note:</b> The above path was added in Chrome 16. Prior versions used a d ifferent path, which is now deprecated: | |
109 <code>/Applications/Google Chrome.app/Contents/Extensions/</code> .</p> | |
107 <dt> Linux: </dt> | 110 <dt> Linux: </dt> |
108 <dd> <code>/opt/google/chrome/extensions/</code> <br> | 111 <dd> <code>/opt/google/chrome/extensions/</code> <br> |
109 <b>Note:</b> Use <code>chmod</code> if necessary | 112 <b>Note:</b> Use <code>chmod</code> if necessary |
110 to make sure that <code>extensions/external_extensions.json</code> | 113 to make sure that <code>extensions/external_extensions.json</code> |
111 is world-readable. | 114 is world-readable. |
112 </dd> | 115 </dd> |
113 </dl> | 116 </dl> |
114 </li> | 117 </li> |
115 <li> Add an entry to <code>external_extensions.json</code> | 118 <li> Add an entry to <code>external_extensions.json</code> |
116 for your extension's ID. If you are installing from a file, specify the | 119 for your extension's ID. If you are installing from a file, specify the |
(...skipping 26 matching lines...) Expand all Loading... | |
143 "external_update_url": "http://myhost.com/mytestextension/updates.xml" | 146 "external_update_url": "http://myhost.com/mytestextension/updates.xml" |
144 } | 147 } |
145 }</pre> | 148 }</pre> |
146 </li> | 149 </li> |
147 | 150 |
148 <li>Save the JSON file. </li> | 151 <li>Save the JSON file. </li> |
149 <li>Launch Google Chrome and go to <b>chrome://extensions</b>; | 152 <li>Launch Google Chrome and go to <b>chrome://extensions</b>; |
150 you should see the extension listed. </li> | 153 you should see the extension listed. </li> |
151 </ol> | 154 </ol> |
152 | 155 |
156 <h3 id="troubleshooting">Troubleshooting Mac OS permissions problems</h3> | |
157 | |
158 On Mac OS, if you do not see the external extension installed when Chrome is lau nched, there may be a permissions problem with the external extensions preferenc es file. To see if this is the problem, follow these steps: | |
kathyw
2011/09/30 15:29:04
Oops, I missed one before: Add <p> tags around thi
| |
159 | |
160 <ol> | |
161 <li> Launch the Console program. You can find it under /Applications/Utilitie s/Console. </li> | |
162 <li> If the leftmost icon in the Console says "Show Log List", click that icon . A second column appears at the left. </li> | |
163 <li> Click "Console Messages" in the left pane. </li> | |
164 <li> Search for the string <b>Can not read external extensions</b>. If there is a problem reading the external extensions file, you will find an error messag e. Look for another error message directly above it, which should explain the i ssue. For example, if you see the following error: | |
165 "Path /Library/Application Support/Google/Chrome is owned by the wrong grou p", you need to use <code>chgrp</code> or the Finder's Get Info dialog to change the directory's group owner to the Administrator group.</li> | |
166 <li> After fixing the issue, relaunch Chrome. Test that the external extensio n is now installed. It is possible that one permissions error keeps Chrome from detecting a second error. If the external extension was not installed, repeat these steps until you do not see an error in the Console application. | |
167 </ol> | |
168 | |
153 <h2 id="registry">Using the Windows registry</h2> | 169 <h2 id="registry">Using the Windows registry</h2> |
154 | 170 |
155 <ol> | 171 <ol> |
156 <li>Make the <code>.crx</code> extension file available | 172 <li>Make the <code>.crx</code> extension file available |
157 to the machine you want to install the extension on. | 173 to the machine you want to install the extension on. |
158 (Copy it to a local directory or to a network share — | 174 (Copy it to a local directory or to a network share — |
159 for example, <code>\\server\share\extension.crx</code>.) | 175 for example, <code>\\server\share\extension.crx</code>.) |
160 </li> | 176 </li> |
161 <li>Find or create the following key in the | 177 <li>Find or create the following key in the |
162 registry: | 178 registry: |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
264 | 280 |
265 <br> | 281 <br> |
266 | 282 |
267 <p><b>How do I get off the blacklist?</b> </p> | 283 <p><b>How do I get off the blacklist?</b> </p> |
268 <p>If the user uninstalls your extension, you should respect that | 284 <p>If the user uninstalls your extension, you should respect that |
269 decision. However, if you (the developer) accidentally uninstalled | 285 decision. However, if you (the developer) accidentally uninstalled |
270 your extension through the UI, | 286 your extension through the UI, |
271 you can remove the blacklist tag | 287 you can remove the blacklist tag |
272 by installing the extension normally | 288 by installing the extension normally |
273 through the UI, and then uninstalling it. </p> | 289 through the UI, and then uninstalling it. </p> |
OLD | NEW |