在安装中释放Microsoft dll的最佳实践 [英] best practice for releasing Microsoft dll's in setup

查看:133
本文介绍了在安装中释放Microsoft dll的最佳实践的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究一个想要包含Microsoft.Web.Services3(WSE 3.0)DLL 的安装程序.但是,我通常不喜欢在我们的安装中包括Microsoft DLL,除非通过Microsoft的可再发行文件. Microsoft提供了开发人员和Redist安装软件包.

因此,作为最佳实践,我应该在安装中包含单个DLL还是将其引用给WSE 3.0安装之一(假设他们尚未安装)?

解决方案

通常,它们的EULA禁止在可再发行软件包之外重新分发任何Microsoft DLL,因此您可能首先要检查该DLL的适当EULA./p>

通常,我更喜欢redist软件包,因为这样可以确保已正确注册"到系统中,即,如果安装较新版本的redist,则它会更新(如DirectX),或者如果它是旧版本,则不会被覆盖(也类似于DirectX).

I'm working on a setup which wants to include the Microsoft.Web.Services3 (WSE 3.0) DLL. However, I typically do not like including Microsoft DLL's in our installs except by way of Microsoft's redistributables. There is both a developer and a redist install package available from Microsoft.

So, as a best practice, should I include the single DLL in my install or refer them to one of the WSE 3.0 installs (assuming they do not already have it installed)?

解决方案

Usually, redistributing any of Microsoft DLLs outside of the redistributable package is forbidden by their EULA, so you might first want to check the appropriate EULA for that DLL.

Generally, I would prefer the redist package since that makes sure that it's correctly "registered" into the system, i.e. if you install a newer version of the redist it gets updated (like DirectX) or not overwritten if it's an older version (also like DirectX).

这篇关于在安装中释放Microsoft dll的最佳实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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