Firefox 无法将文件安装至 http://xxxx原因为: 不预期的安装错误 详情请查看错误控制台日志。 -203

来自http://tunps.com/firefox-error-203

前几天安装了win7,在安装之前把firefox的资料都用mozbackup备份了一次,然后安装好了后还原,问题就来了。cookie,密码,缓存都正常,就是扩展里面一片空白,于是心想估计是丢了,无所谓就重新下载,结果安装任何的扩展都出现这样的错误:

Firefox 无法将文件安装至 http://xxxx原因为: 不预期的安装错误 详情请查看错误控制台日志。 -203

google了,也有人出现这样的问题,但是没有明确的解决方法,最后在http://kb.mozillazine.org/Unable_to_install_themes_or_extensions_-_Firefox找到了答案。里面列出了所有的出现无法安装卸载扩展的原因和解决方案,用查找搜索“203”定位到这里:

Corrupt extension files

Files that store information about the extensions you have installed can sometimes be corrupted. Deleting them can fix a number of extension issues; they will be regenerated the next time you start Firefox. [17][18]. Exit Firefox completely, then open your Firefox profile folder (read the linked article for its location) and delete* these three files:

extensions.ini
extensions.cache
extensions.rdf
  • Note : Although unwanted files/folders can be deleted, renaming them is generally considered a safer option. This achieves the same result, but allows the user to retrieve any possibly required information from them later on. In the case above, rename the above 3 files as , 'extensionsOLD.ini', 'extensionsOLD.cache', 'extensionsOLD.rdf'

Unexpected installation error -203

Installing themes or extensions may fail with the message, Unexpected installation error -203. (If this occurs after a Software Update you may find that add-ons that were previously installed also do not work.) Follow the above directions to remove corrupt extension files. [19] If the problem is not resolved and you use ZoneAlarm or CA Firewall, disable it temporarily (enable Windows Firewall in the interim) to allow the installation. [20] If the problem persists, your profile may be corrupt (bug 361358). Use the Profile Manager to create a new profile [21] or create a new default profile [22] and then transfer your data to the newly-created profile.

——————————-

搞了半天结果是扩展损坏造成的,解决方法是:删除 C:\Users\tun\AppData\Roaming\Mozilla\Firefox\Profiles\3neukyyj.default (win7系统是这个目录,找不到这些文件,用windows搜索。)目录下的extensions.ini extensions.cache extensions.rdf 这3个文件,当然最好是备份,免得数据丢失。删除后这3个文件重新生成,也就是说里面关于扩展的记录都消失了,全部扩展需要重新安装。

 
 

About tunpishuang

just 4 fun·····
This entry was posted in 未分类 and tagged . Bookmark the permalink.

5 Responses to Firefox 无法将文件安装至 http://xxxx原因为: 不预期的安装错误 详情请查看错误控制台日志。 -203

  1. 客串 says:

    应该和win7没关系,和mozbackup有关,因为我在win7和win2003都遇到相同问题,win7备份时不选择扩展恢复时就完全没事,不知道是不是软件的bug

    • tunpishuang says:

      google的时候无意间进了一个mozilla bugzilla,有人报告说这是个bug,不过是之前版本的.不管咋说,弄好了就不深究了。:)

  2. 妖娆盛唐 says:

    我回来鸟,域名换鸟
    成了http://wenzhu.org啦

    友情提醒:为啥你博客的文章标题不换行的?这篇文章都超出显示范围啦

  3. 卢松松 says:

    到目前我用的火狐还没出现这样的问题

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>