简体   繁体   English

销售 .NET 库集。 我需要安装程序吗?

[英]Selling a .NET set of libraries. Do I need an installer?

I have outsourced and built a set of .net libraries and will be selling them soon.我已经外包并构建了一组 .net 库,并将很快出售。 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?我只是让用户下载带有 DLL 和帮助文件的 zip 文件,还是我需要一个将它们放在目录中的安装程序,然后用户可以通过这种方式添加对 DLL 的引用?

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.我将采用的方法是在 zip 文件、批处理文件、帮助文件和代码片段中提供安装程序和实际 DLL。 That solution should mitigate the issues some people have voiced over an installer.该解决方案应该可以缓解一些人对安装程序提出的问题。 The installer will do all of the above automatically.安装程序将自动执行上述所有操作。 Thanks again!再次感谢!

I 100% completely agree with @Michael Shimmins on this.我 100% 完全同意@Michael Shimmins 的观点。 I do NOT like installers.喜欢安装程序。 Just give me a zip file.只需给我一个 zip 文件即可。

We have build servers, various web servers, and lots of devs.我们有构建服务器、各种 web 服务器和许多开发人员。 I do NOT want to have to place your (or anyone elses for that matter) assemblies into the GAC.我不想将您(或其他任何人)的程序集放入 GAC。 Beyond CORE MS functionality, I really hate the GAC;除了 CORE MS 功能,我真的很讨厌 GAC; in some ways it's worse than companies throwing everything into windows\system32在某些方面,它比公司把所有东西都扔进 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.我们有许多项目在这里进行,这是难得的一天,所有项目都同时更新到最新版本的第 3 方程序集。 Which goes back to my issue with GAC'ing them.这又回到了我对 GAC 处理它们的问题。 BTW, this is the #1 reason we do NOT use DevExpress components.顺便说一句,这是我们不使用 DevExpress 组件的 #1 原因。

Our projects are always structured where 3rd party libraries are placed in folders under the solution node.我们的项目始终是结构化的,第 3 方库放置在解决方案节点下的文件夹中。

So, 1 zip file please.因此,请提供 1 个 zip 文件。 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.出于对所有程序的热爱,不要对它们进行 RAR。 Just plain old zip is fine.只是普通的旧 zip 就可以了。 Really, it is.真的,是的。 Pretty much every windows machine can open those up just fine without installing additional crap.几乎每台 windows 机器都可以很好地打开它们,而无需安装额外的垃圾。 (Did I mention I don't like installers? ... ) (我有没有提到我不喜欢安装程序?...)

;) ;)

I would say it depends on your users.我会说这取决于您的用户。 I have bought licenses and used FOSS .NET libraries.我已经购买了许可证并使用了 FOSS .NET 库。 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.无需担心卸载程序或各种操作系统的未来版本将如何影响事物。

I would recommend that you use an installer.我建议您使用安装程序。 It has several benefits...它有几个好处...

1, You can install strong signed versions into the GAC. 1,您可以将强签名版本安装到 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. 2,您的安装程序可以是发布者签名的,因此最终用户知道他们正在获得正版软件,而不仅仅是任何人都可以冒充您的软件的旧 zip。

3, You can perform additional actions like putting a shortcut on the desktop to your read me file. 3,您可以执行其他操作,例如在桌面上为您的自述文件添加快捷方式。 Increasing the chances it actually gets read!增加实际阅读的机会!

4, They can easily remove it by using the uninstall to cleanup. 4,他们可以很容易地使用卸载来清理它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 .NET Logger库。 你的选择 - .NET Logger libraries. Your choice .NET配置文件-我需要在安装程序中包含它吗? - .NET configuration file - Do I need to include it in installer? 如何为.NET Windows应用程序编写安装程序(需要安装Access驱动程序) - How do I write an installer for a .NET Windows application (need to install Access drivers) 如何为.NET winforms应用程序创建安装程序,使其不需要安装? - How do I create an installer for a .NET winforms application so it doesn't need to install? 为什么面向.Net Standard的库需要Microsoft.Csharp - Why do libraries targeting .Net Standard need Microsoft.Csharp 如何制作安装程序而不是崩溃(.NET) - How do i make an installer instead of a crash (.NET) 在我的WPF项目安装程序中,如何捆绑.NET3.5安装程序? - In my WPF project installer, how do I bundle the .NET3.5 installer? 如何使用完全独立的.NET 3.5 sp1安装程序制作WiX安装程序? - How do I make a WiX installer with a completely self-contained .NET 3.5 sp1 installer? 我是否需要为每个设备在应用程序中移动外部库 - Do I need to move external libraries with my application for each device .NET MemoryCache.Default:我需要设置多少个配置文件 <memoryCache> 在? - .NET MemoryCache.Default: How many config files do I need to set <memoryCache> in?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM