Go to comments ↓ Home » 软件心得

Opera 各种安装包的区别和便携化

opera便携软件的设置不受路径迁移影响,可以随身携带便于备份。A.shun 作为便携控,使用的主要软件大多可以实现这一特质。

个人认为 Opera 的便携化方案算是比较好的,安装之后改下配置文件即可,不需要依靠快捷方式(毕竟真正便携的时候带着快捷方式每次修改也麻烦)。

在 2009年09月26日的曾经写过一篇《Opera的便携化》,但由于当时对 op 的认识水平和排版习惯限制,现在看来有点惨不忍睹。而且新版本略有不同,决定趁着 Opera 10.60正式版发布之际来炒下冷饭,重新整理。

新手必看,看完之后更无需去下载所谓的 Opera 绿色版和便携版,自己动手丰衣足食。

那么就从安装来谈起,受限于我自身使用的系统,只讨论 Windows 版本。不正确或完善之处请指正和补充。

1. 安装 Opera

Opera For Widows 提供两种不同的安装包:Classic 安装包MSI 安装包

1.1 MSI 安装包

MSI 安装包需要 Windows Installer 服务支持,适用于 WinXp、Vista、Win7 等高版本的 Windows 系统。
其好处在于可以使用 Windows Installer 服务来进行管理,方便升级安装
在 opera.com和operachina.com 上默认下载的是 MSI 安装包。

安装Opera

1.2 Classic 安装包

Classic 安装包支持 Win95/98 及以上的系统,不需要额外服务支持。但只有英文语言包

Opera Classic

1.3 自定义安装目录

无论是哪种格式的安装包,都是可以自定义安装目录的,这是对用户基本的尊重。
进入下一步之前,先点选项。

Opera 自定义安装目录

2. Opera 中国版和国际版

这个和本文的主要内容关系不大,只是借此扫盲下。

Opera 中国版,代号为 朱雀IBIS),是为了适应本地用户和网络环境所作出改动而来的。
Opera 中国版并没有像某些软件的中国版一样砍掉部分功能,也没有添加一些臃肿的东西。其本质和国际版是相同的,只是改变了一些默认设置,这些你都可以自定义。

2.1 中国版和国际版的主要区别

  • 默认搜索引擎为百度 -.-
  • 默认启用了一些中国特色的习惯,如双击关闭标签超级拖拽(拖拽链接在新标签打开,后台标签打开链接需设置)
  • 首选项对话框中增加了下载工具选择
  • M2 增加了国内邮件的支持
  • 修复了一些中文网站的兼容性问题等

2.2 如何判断是中国版还是国际版

由于 10.0以后的 ibis 没有使用朱雀皮,那么我们只能通过该以下几个地方来辨认。

  1. 中国版的 ua 串中多了 Edition IBIS,可以查看operaconfig"opera:about
  2. 中国版的 Final 安装包通常名称为 Opera installer_ibis,而国际版为 Opera_版本_int_Setup
  3. 中国版只带了中文和英文语言包
  4. Opera 中国版仅提供了 MSI 安装包

operachina.com 下载到的是 ibis。

3. 多用户和单用户模式

多用户模式的配置文件保存在用户系统用户文件夹中,以 WinXp 为例:
Opera 10及以上版本是在:C:\Documents and Settings\用户名\Application Data\Opera\opera安装目录名\
9.64 及以下版本则是C:\Documents and Settings\用户名\Application Data\Opera\opera安装目录名\profile\
单用户模式的 profile 文件夹保存在 Opera 安装目录下。

operaconfig"opera:about 中可以查看当前配置的路径。

无论哪种安装包的默认安装都是使用多用户模式。
但 Classic 安装包比较方便,在安装时勾选 Use the same profile for all user on this computer 即可。

Opera 单用户模式

MSI 版本或者 C 版忘记勾选上面选项的,也没关系。
安装好之后,在 Opera 的安装目录下,找到 operaprefs_default.ini,用文本编辑器打开。

Multi User=1

修改为

Multi User=0

保存,然后运行 Opera 就会在自身目录中生产一个 profile,并将自定义设置保存在其中,以后也无需再修改,升级不会被覆盖。

如果你改成单用户模式之前有修改过设置,可以先设置移到 op 的目录下的 profile 目录下。

4. Opera 的环境变量

改成单用户模式之后,Opera 就不会向自身以外的文件夹写入文件了(下载路径除外)。
但由于默认使用的是绝对路径,如果再移动位置的话,一些自定义的配置文件的路径就错了。

自 Opera 10.0开始加入的路径变量,使 Opera 基本上可以抛弃第三方绿化工具而实现便携移动。

{Resources} = Opera 安装目录
{LargePrefs} = 默认 profile 目录

使用方法,如:

Fast Forward Configuration={LargePrefs}fastforward.ini
Cache Directory4={Resources}cache

另外还有一个 {SmallPreferences} ,作用同 {LargePrefs}。
Opera 目录变量只可以用在 operaprefs_default.ini 和 operaprefs.ini 、override.ini 中。
对自定义文件夹是无效的:如 UserJS 目录,或者其他外部程序的目录。

5. 在 Opera 中使用相对路径

对于自定义文件和目录等无法使用路径变量的,我们可以用相对路径来完全实现 Opera 的便携化
如:

User JavaScript File=profile\script
Execute program,"tools\proxy\fg.exe"

绝对路径可以用于 Opera 的各种配置文件中。
但是如果是从其他外部程序运行 Opera的话,如,点击聊天工具中的链接打开 Opera(Opera 之前先运行则不受影响),则相对路径失效。
这个其实也不是 o 的问题,而应该说是相对路径的通病。

6. 第三方绿化工具

有了路径变量,基本上就不需要依靠外部绿化器来自动替换 ini 文件中的路径,绿化 Opera了。

但是由于吐槽的 UserJs 目录和外部工具目录无法使用目录变量,还是有些朋友习惯用外部工具的。
再说,这些外部绿化工具也给 Opera 添加了一些额外的小功能。

常见的有:
SomhOpera Pathfinder,极速版自带。
EziboGreenPath,白菜版自带。
opera_888Ostart,九天版自带。
Lex1Opera Loader

由于 A.shun 使用的是 环境变量加相对路径的方式,也限于篇幅问题,不在此做详细介绍,自己查看链接吧。
同类工具也还有,如需要请自行搜索。

7. 参考资料

你可以在此处下载到最新正式版的 Opera:http://www.opera.com/browser/download/

» 转载请以超链接形式注明来源:A.shun Blog » 《Opera 各种安装包的区别和便携化》
» 本文链接地址:http://shun.im/21371

» 本文采用 BY-NC-SA 协议进行授权。
» 建议通过 Rss( Feedly | Feedburner | Feedsky )方式及时获取更新。
  1. 😮 又见Opera

    Opera 10.60 Opera 10.60 Windows 7 Windows 7
    #1
    @
  2. opera折腾帝啊,频率赶的上我折腾WP了 :roll:

    Firefox 3.6.3 Firefox 3.6.3 Windows XP Windows XP
    #2
    @
  3. 我还是喜欢classic版,因为人懒。另外,吐槽一下现在的安装,修改设置需要另外点一下按钮才出来,一不小心直接“下一步”然后就错过了。虽说可以“上一步”,但是会觉得很不爽。
    要是Opera能像TC那样,安装文件还能直接解压缩应用就更好了。 😳

    Opera 10.60 Opera 10.60 Windows 7 Windows 7
    #3
    @
    • @Vicia 从 10.51还是 10.52开始简化安装界面的,我觉得这样挺好。

      直接解压还不行呢。

      Opera 10.60 Opera 10.60 Windows XP Windows XP
    • @A.shun 但是把那些选项简化到隐藏起来,让人不爽。= = 好吧,其实我是来点广告的。 😀

      Opera 10.60 Opera 10.60 Windows 7 Windows 7
  4. OPERA 速度不错 还可以

    TheWorld Browser TheWorld Browser Windows 7 x64 Edition Windows 7 x64 Edition
    #4
    @
  5. 前排支持。

    Opera 10.60 Opera 10.60 Windows 7 Windows 7
    #5
    @
  6. 不算太晚,哈 😀
    最近考试,紧啊 ❗

    Firefox 3.6.6 Firefox 3.6.6 Windows XP Windows XP
    #6
    @
  7. 话说firefox4 beta和opero界面很相似。

    Firefox 3.6.6 Firefox 3.6.6 Windows 7 Windows 7
    #7
    @
  8. U盘里放着的应该是极速版opera,论坛里下载的。。好久没有亲手折腾opera了。。迷上wm系统了

    ChromePlus 1.4.0.0 ChromePlus 1.4.0.0 Windows 7 Windows 7
    #8
    @
  9. tlchenning

    嘿嘿 文章写的不错 转载ing :roll:

    Opera 10.60 Opera 10.60 Windows XP Windows XP
    #9
    @
  10. 不错的文章…不过喜欢用Chrome…所以对此表示无爱 :smile: :smile:

    ChromePlus 1.4.0.0 ChromePlus 1.4.0.0 Windows 7 Windows 7
    #10
    @
  11. 很久没折腾过opera了

    Opera 10.60 Opera 10.60 Windows XP Windows XP
    #11
    @
  12. 弄个绿色版的带着走还是不错的

    Firefox 3.6.6 Firefox 3.6.6 Windows 7 Windows 7
    #12
    @
  13. Somh和Ezibo的我都用过,自己也折腾过。
    不过现在不常用opera,习惯问题吧,其实opera跟fx一样,很多功能都能自己折腾,但是Fx有大量扩展,为初级用户降低了门槛。

    Firefox 3.6.6 Firefox 3.6.6 Windows 7 Windows 7
    #13
    @
    • @winy 恩,定制性和扩展性都很强。
      但FF的扩展程序对新手来说很方便

      Opera 10.60 Opera 10.60 Windows XP Windows XP
  14. opera达人啊

    Firefox 3.6.6 Firefox 3.6.6 Windows 7 Windows 7
    #14
    @
  15. 现在知道A.Shun主要关注的是Opera了,哈哈

    Internet Explorer 6.0 Internet Explorer 6.0 Windows XP Windows XP
    #15
    @
  16. 要改代码……如果只是为了用便携版的软件我想大概没几个人会这样搞的,有现成的网站可以下载~ 😀
    http://portableapps.com/

    Minefield 4.0b2pre Minefield 4.0b2pre Windows 7 Windows 7
    #16
    @
  17. OP控,这两天又用着头晕,换回ff,看来我是很难适应了

    Google Chrome 5.0.375.99 Google Chrome 5.0.375.99 Windows 7 Windows 7
    #17
    @
  18. 还是在用chrome……有个自己习惯的就可以了

    Google Chrome 5.0.375.99 Google Chrome 5.0.375.99 Windows XP Windows XP
    #18
    @
  19. 折腾下……写得不错!

    360Safe Explorer 360Safe Explorer Windows XP Windows XP
    #19
    @
  20. 😮 😮 😮
    我不是真的喜欢,飘过……………

    Firefox 3.6.6 Firefox 3.6.6 Windows 7 Windows 7
    #20
    @
  21. 更换主题了

    Internet Explorer 7.0 Internet Explorer 7.0 Windows XP Windows XP
    #21
    @
  22. opera的啊,纯支持下,爱上Chrome了。

    Internet Explorer 8.0 Internet Explorer 8.0 Windows XP Windows XP
    #22
    @
  23. Lazyyyyyy

    用惯了傲游。。。还没试过这号称最快的opera……

    Maxthon 2.0 Maxthon 2.0 Windows XP Windows XP
    #23
    @
  24. 你是Opera粉丝?

    Firefox 3.6.6 Firefox 3.6.6 Windows Server 2003 Windows Server 2003
    #24
    @
  25. 你对 Opera 现在应该是专家级别的人物了
    哈哈。

    Firefox 3.6.6 Firefox 3.6.6 Windows XP Windows XP
    #25
    @
  26. 对opera有了新了解,不过我一直用不惯这款浏览器,哎

    TheWorld Browser TheWorld Browser Windows XP Windows XP
    #26
    @
  27. 有2天没来看A.shun的博客了。不知道是不是最近很忙,有时间我还是会来看看SHUN今天更新了些什么,对于吴邦图我也在今年3月接触。看着SHUN更新的博客,对于某些应用操作同感的我 可以有共同的语言一起分享吴邦图10.04的乐趣

    TheWorld Browser TheWorld Browser Windows 7 x64 Edition Windows 7 x64 Edition
    #27
    @
    • @7cbt 我没有折腾ubuntu呢。。时间问题,倒是有兴趣。
      最近忙,更新少 :smile:

      Opera 10.60 Opera 10.60 Windows XP Windows XP
  28. 天天天蓝

    还没用过,目前只停留在换换衣服的地步

    360Safe Explorer 360Safe Explorer Windows XP Windows XP
    #28
    @
  29. 奇怪 总觉得opera滚动很流畅

    Google Chrome 5.0.375.99 Google Chrome 5.0.375.99 Windows 7 Windows 7
    #29
    @
  30. 用惯了FF,还是有点不习惯Opera

    Firefox 3.6.6 Firefox 3.6.6 Windows XP Windows XP
    #30
    @
  31. opera一直是我电脑里面必备的一个软件

    Firefox 3.6.6 Firefox 3.6.6 Windows XP Windows XP
    #31
    @
  32. 你对Opera的研究实在是太深入彻底了

    Firefox 3.6.6 Firefox 3.6.6 Windows 7 Windows 7
    #32
    @
  33. 还是试试op吧,用chrome有不短的一段时间了,FF臃肿且慢,试试chrome+op搭配~~

    Google Chrome 6.0.453.1 Google Chrome 6.0.453.1 Windows XP Windows XP
    #33
    @
  34. 点默认之后成 Fast Forward Configuration={SmallPreferences}fastforward.ini 且不能修改.重启后又变回来所在的文件夹路径.
    ??

    Google Chrome 6.0.453.1 Google Chrome 6.0.453.1 Windows XP Windows XP
    #34
    @
    • @wander {SmallPreferences}的作用和{LargePrefs}是一样的,我忘记补充了。

      这些是环境变量,在config里面看到的是绝对路径,但移动位置之后会跟着改变的

      Opera 10.70 Opera 10.70 Windows XP Windows XP
    • @A.shun 谢了 😆 已使用 😉

      Google Chrome 6.0.453.1 Google Chrome 6.0.453.1 Windows XP Windows XP
  35. meiyou名字

    试试…….头像还在么.
    主题真漂亮

    Opera 10.60 Opera 10.60 Windows 7 Windows 7
    #35
    @
  36. John Doe

    非常有用,谢谢! :roll:

    Opera 10.60 Opera 10.60 Windows XP Windows XP
    #36
    @
  37. 台湾有个网友修改发布了个三太子版,不知道知不知道?

    Firefox 3.6.12 Firefox 3.6.12 Windows Server 2003 Windows Server 2003
    #37
    @
    • @希锐亚 知道,Jedi 嘛,他和他的三太子在 opera 用户中知名度挺高呢。

      他做得很认真,在站点上详细说明了大多数改动,提供几乎所有平台的版本,并且很好的保留了原版风格。感觉也是当成一中公益事业。这点上很值得佩服呢。 :roll:
      那也是唯一获得官方认证的版本。

      当然,主要是根据台湾用户的习惯改进的,推荐给新用户不错。
      熟悉 Opera 的朋友都喜欢自己折腾,嘿,也是变形金刚呢。 😛

      Opera 10.70 Opera 10.70 Windows XP Windows XP
  38. 天呐,我真是笨的可以,还是不怎么会,快考试了,回去折腾吧,opera要是这个时候悲剧了,就要了我的命吧!!

    Opera 11.11 Opera 11.11 Windows 7 Windows 7
    #38
    @
  39. 就是写文章时复制粘贴不了。。

    Google Chrome 17.0.942.0 Google Chrome 17.0.942.0 Windows XP Windows XP
    #39
    @
  40. Hello admin, i must say you have very interesting content here.
    Your page can go viral. You need initial traffic
    only. How to get it? Search for: Mertiso’s tips go viral

    Internet Explorer 11.0 Internet Explorer 11.0 Windows 8.1 x64 Edition Windows 8.1 x64 Edition
    #40
    @
Leave a Reply to Vicia

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

点击这里取消回复。