在Windows上仅安装Quicktime库 [英] Installing just Quicktime libraries on Windows

查看:128
本文介绍了在Windows上仅安装Quicktime库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有用于Windows的 Quicktime SDK ,但是任何使用它的应用程序都需要quicktime运行时库可以安装在系统上(SDK本身仅具有标头和库存根,而没有实际的DLL).

There's Quicktime SDK for Windows, but any application that uses it needs quicktime runtime libraries to be installed on the system (SDK itself just has headers and library stubs, and not the actual DLLs).

如果我的应用程序使用Quicktime,我想使用其安装程序安装必要的库,因此不需要用户单独安装Quicktime.我要寻找的是某种快速重新分配".

If my application uses Quicktime, I'd like to install the necessary libraries with it's installer, thus not requiring user to install Quicktime separately. What I'm looking for is some sort of "quicktime redistributable".

截至目前(快速时间7.x),我找不到实现此目的的方法.我可以捆绑整个quicktime安装程序(大约20 MiB),并使用MSI的静默/无人参与标志启动它.但是,这样会产生一些副作用:

As of now (quicktime 7.x), I can't find a way to do that. I could bundle whole quicktime installer (about 20 MiB), and launch it with MSI's silent/unattended flag. However, that way it has several side effects:

  1. 在桌面和快速启动栏中创建Quicktime播放器快捷方式
  2. 劫持文件关联(例如,.mov与Quicktime Player关联,即使之前与其他东西关联也是如此)
  3. 安装一些可能监视Quicktime关联或处理自动更新的服务/进程(qttask).
  4. 安装我实际上不需要的Quicktime Player.

以上所述,前三个非常糟糕.

Of the above, first three are quite bad.

有没有一种方法可以仅安装Quicktime的库"?

Is there a way to "just install the libraries" for Quicktime?

在我的应用程序中,我将使用Quicktime导入各种格式的图像,电影和音频文件.如果没有理智的方法来安装Quicktime运行时而没有副作用(更改的文件关联,额外的图标,等等),那么我应该认真考虑替代的解决方案(例如,使用FreeImage加载图像,也许是DirectShow用于视频/音频).

In my application, I'd use Quicktime to import images, movies and audio files in various formats. If there is no sane way to install Quicktime runtime without side effects (changed file associations, extra icons, ...), then I should be seriously looking at alternative solutions (e.g. FreeImage to load images, perhaps DirectShow for video/audio).

推荐答案

如果您需要重新分发QuickTime,请参见

If you need to redistribute QuickTime, see QuickTime Licensing for details. You're not allowed to redistribute any of the QuickTime libraries without a written agreement with Apple. Many CD-replication companies will actually request proof of this agreement before printing large numbers of CDs.

在没有咨询律师或您的Apple授权代表的情况下,我绝对不会分发"QuickTime Lite".

I would definitely not distribute "QuickTime Lite" without consulting with either a lawyer or your Apple licensing representative.

您最好的选择是AFAIK,使用完整的QuickTime安装程序(全部20MB),并让主安装程序以"silent"标志运行它.至少,这将允许您的用户安装QuickTime,而无需进行六个对话框(也没有那些讨厌的比基尼冲浪者照片).苹果公司许可部门的人们似乎认为使用沉默"标志是可以接受的,至少在我们咨询他们的时候.

Your best bet, AFAIK, is to use the full QuickTime installer (all 20MB of it), and have your main installer run it with a "silent" flag. That, at least, will allow your users to install QuickTime without a half-dozen dialogs (and without those annoying pictures of surfers in bikinis). The people at Apple's licensing division seemed to think that using the "silent" flag was acceptable, at least when we consulted them.

一个警告:如果用户已经安装了较早版本的QuickTime 6 Pro(或更早版本),则静默安装QuickTime 7将会核对其QuickTime Pro注册,因此他们必须重新购买它.实际上,我们在安装程序中会检测到这种情况,并在安装过程中显示警告,就像Apple一样.

One warning: If the user already has an older version of QuickTime 6 Pro (or earlier) installed, then installing QuickTime 7 silently will nuke their QuickTime Pro registration and they'll have to repurchase it. We actually detect this situation in our installer and display a warning during the installation process, much like Apple does.

是的,这很痛苦.经过6年以上与QuickTime的合作,我真诚地建议您查看其他视频框架.我们目前正在评估Ogg Theora.

Yes, this is a pain. After 6+ years of working with QuickTime, I'd honestly recommend looking at other video frameworks. We're currently evaluating Ogg Theora.

这篇关于在Windows上仅安装Quicktime库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆