Windows 资源 (instsrv.exe) 的许可和分发权利
我有一个服务安装,为了让它在 Win2k 上工作,我必须在安装程序中包含 instsrv.exe,因为 Win2k 不包含 sc.exe(我用于 XP 及更高版本),而 instsrv.exe 是并不总是安装...所以我不能指望它在那里。 (instsrv 和 sc 都用于在系统上创建/安装服务)。
但是,我无法找到 instsrv 的许可条款或分发权。如果我将这个 Microsoft exe 包含在我自己的安装程序中并因此将其分发给该产品的客户,是否会出现法律问题?如果您能给我提供该 exe 的实际许可文档,我将不胜感激。
I have a service installation that in order to get it to work on Win2k, I had to include instsrv.exe in the installer, since Win2k doesn't include sc.exe (which I use for XP and up) and instsrv.exe is not always installed...so I cannot count on it being there. (instsrv and sc are both used to create/install the service on the system).
I have not been able to find the license terms or distribution rights for instsrv however. Is there going to be a legal issue with me including this Microsoft exe in my own installer and therefore distributing it to the customers of the product? If you can point me to an actual license document for this exe it would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
instsrv.exe 程序似乎来自 Windows 2003 资源工具包,您可以从 Microsoft 免费下载。引用的页面表明,当您安装它时,您将遇到 EULA(最终用户许可协议),您可以在其中阅读有关重新分发等内容的许可条款。
您应该自己阅读该协议。按照我的理解,您不能将该套件与您的安装程序捆绑在一起,尽管您当然可以安排自动下载它并由您调用自己的安装程序,而您的最终用户必须单击接受 Microsoft EULA时间。
使用不同的方法怎么样?我相信对于简单的服务安装,可能只需要几个注册表项或需要调整的内容。也许一个简单的脚本(Python 或类似的?)也可以完成这项工作。
The instsrv.exe program appears to come from the Windows 2003 Resource Kit, which you can download freely from Microsoft. The referenced page indicates that when you install it, you'll encounter the EULA (End User License Agreement), which would be where you'd read about the license terms regarding things like redistribution.
You should read that agreement yourself. The way I read it, you can't bundle the Kit with your installer, though you could certainly arrange to have it downloaded automatically and have its own installer invoked by yours, with your end user having to click to accept the Microsoft EULA at that time.
What about using a different approach? I believe for a simple service installation there are probably only a few registry keys or something to tweak. Maybe a simple script (Python or such?) could do the job as well.
我不是法律专家,但问题是 instsrv.exe 的使用,还是在您卸载产品之前它一直存在于电脑上?
如果您以这样的方式制作安装程序,只需打包 instsrv.exe,在安装过程中解包,通过自定义操作运行它,然后让安装程序清理过程从临时位置删除它,这会是重新分发吗?
作为一个重大的回避,您可以将安装程序更改为 WiX v3。他们有标准的自定义操作来安装服务。您将获得添加的 Msi 轻松活动目录集成奖励。你可以选择完全不同的东西,但我认为这是最后的手段。
最后,服务只不过是特定格式的注册表项,因此您并不完全限于使用这些程序。如果 instsrv 或 sc 碰巧毁掉了注册表,你就会得到指责微软的好处。
I'm no legal expert, but is the issue the use of instsrv.exe or that it's lying on the PC until you uninstall your product?
Would it be redistribution if you craft your installer in such a way that you merely package instsrv.exe, unpackage during the install process, run it via a custom action, then let the installer cleanup process delete it from the temporary location?
As a big sidestep, you could change installers to WiX v3. They have standard custom actions to install services. You get the added Msi easily active directory integrated bonus. You could go with something else entirely but I assume this is a very last resort.
In the end, services are nothing more than registry entries in a specific format so you are not entirely limited to using those programs. You just get the bonus of blaming Microsoft if either instsrv or sc happen to blow up the registry.