销售一组 .NET 库。我需要安装程序吗?
我已经外包并构建了一组 .net 库,并将很快出售它们。我环顾四周,试图弄清楚是否需要安装程序来安装它们。我是否只是让用户下载包含 DLL 和帮助文件的 zip 文件,还是需要一个安装程序将它们放置在一个目录中,然后用户可以通过这种方式添加对 DLL 的引用?
任何建议都会很棒。
更新:我非常感谢您的反馈。我将采取的方法是在 zip 文件、批处理文件、帮助文件和代码片段中提供安装程序和实际的 DLL。该解决方案应该可以缓解一些人通过安装程序提出的问题。安装程序将自动执行上述所有操作。再次感谢!
I have outsourced and built a set of .net libraries and will be selling them soon. I have looked around and am trying to figure out if I need an installer to install them. Do I just let the users download a zip file with the DLL's and the help file, or do I need an installer that will place them in a directory, and then the user can add the references to the DLL's that way?
Any suggestions would be great.
Update: I really appreciate the feedback. The approach I am going to take is offer both an installer and just the actual DLL's in a zip file, batch file, Help file and code snippets. That solution should mitigate the issues some people have voiced over an installer. The installer will do all of the above automatically. Thanks again!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我 100% 完全同意@Michael Shimmins 的观点。我不喜欢安装程序。只需给我一个 zip 文件即可。
我们有构建服务器、各种网络服务器和大量开发人员。我不想将您(或任何其他人)的程序集放入 GAC 中。除了 CORE MS 功能之外,我真的很讨厌 GAC;在某些方面,这比公司将所有内容都扔进 windows\system32 更糟糕,
我不需要在程序列表中提供另一个选项来链接到您的网站,我不需要运行卸载实用程序来删除它。
当您发布补丁时,我当然不需要让它更新它在我的计算机上找到的每个实例。我们这里有许多项目,所有这些项目同时更新到第 3 方程序集的最新版本是罕见的一天。这又回到了我对 GAC 进行管理的问题。顺便说一句,这是我们不使用 DevExpress 组件的第一大原因。
我们的项目始终采用将第三方库放置在解决方案节点下的文件夹中的结构。
所以,请提供 1 个 zip 文件。它应该包含您的程序集和描述任何值得注意的内容的文本文件,例如此版本中发生的更改。在您自己的网站上提供帮助信息(当然在该文本文件中清楚地列出),按版本很好地排序,并带有大量示例。
最后一件事。出于对所有程序的热爱,请勿对它们进行 RAR。只要普通的旧拉链就可以了。确实如此。几乎每台 Windows 机器都可以很好地打开它们,而无需安装额外的垃圾。 (我有没有提到我不喜欢安装程序?...)
;)
I 100% completely agree with @Michael Shimmins on this. I do NOT like installers. Just give me a zip file.
We have build servers, various web servers, and lots of devs. I do NOT want to have to place your (or anyone elses for that matter) assemblies into the GAC. Beyond CORE MS functionality, I really hate the GAC; in some ways it's worse than companies throwing everything into windows\system32
I do NOT need another option in my programs listing for a link to your website, I do NOT need to have to run an uninstall utility just to get rid of it.
And I certainly do NOT need to have it update every single instance of itself it finds on my machine when you publish a patch. We have numerous projects going here and it is a rare day when ALL of them get updated to the latest version of a 3rd party assembly at the same time. Which goes back to my issue with GAC'ing them. BTW, this is the #1 reason we do NOT use DevExpress components.
Our projects are always structured where 3rd party libraries are placed in folders under the solution node.
So, 1 zip file please. It should have your assemblies and a text file describing anything of note, like what changed in this release. Have the help info on your own website (listed clearly in that text file of course), nicely sorted by version with LOTS of examples.
One last thing. For the love of all that's programmy, do NOT RAR them. Just plain old zip is fine. Really, it is. Pretty much every windows machine can open those up just fine without installing additional crap. (Did I mention I don't like installers? ... )
;)
我想说这取决于你的用户。我已经购买了许可证并使用了 FOSS .NET 库。有些有安装程序,有些只是压缩文件。
这是一个艰难的平衡,但您需要权衡用户的能力。他们会欣赏安装程序的易用性或文件的灵活性吗?
我个人更喜欢跳过安装程序,简化支持和管理过程。无需担心卸载程序或各种操作系统的未来版本将如何影响事物。
I would say it depends on your users. I have bought licenses and used FOSS .NET libraries. Some have had installers, and some have simply been files zipped up.
It's a tough balance but you need to weigh the ability of your users. Will they appreciate ease of use with an installer or the flexibility of files.
Personally I prefer skipping the installer, simplifies the process of support and management. No need to worry about uninstallers or how future versions of various OS's will impact things.
我建议您使用安装程序。它有几个好处...
1、您可以将强签名版本安装到 GAC 中。
2、您的安装程序可以经过发布者签名,以便最终用户知道他们正在获取正版软件,而不仅仅是任何人都可以拼凑起来冒充您的软件的任何旧zip。
3,您可以执行其他操作,例如在桌面上放置自述文件的快捷方式。增加实际被阅读的机会!
4、他们可以通过使用卸载清理来轻松删除它。
I would recommend that you use an installer. It has several benefits...
1, You can install strong signed versions into the GAC.
2, Your installer can be publisher signed so the end user knows they are getting the genuine software and not just any old zip that anyone could put together impersonating your software.
3, You can perform additional actions like putting a shortcut on the desktop to your read me file. Increasing the chances it actually gets read!
4, They can easily remove it by using the uninstall to cleanup.