用C#自解压程序
当您使用 Winrar 创建 zip/rar 文件时,您可以从刚刚创建的 zip 创建 exe。是否可以通过 C# 代码做到这一点???
我怀疑 DotNetZip 库可以完成这项工作,因为他们的页面上有这些行:
这个库是否制作自解压 zip 文件?
是的。它可以制作自解压 zip 文件或标准 zip 文件。自解压存档可以是 Windows (GUI) 应用程序或命令行应用程序。自解压程序需要在执行解压的计算机上安装 .NET 2.0。
有没有人使用过这个库可以告诉我它支持创建 SFX 文件是否正确???
提前致谢
when you create a zip/rar file with Winrar, it gives you the chance to create an exe from the zip you just created. Is it possible to do that from C# code???
I'm suspecting the DotNetZip Library can do the work because of these lines at their page:
Does this library make self-extracting zip files?
Yes. It can make self-extracting zip files or standard zip files. The self-extracting archives can either be Windows (GUI) apps or command-line applications. The self-extractors require .NET 2.0 on the computer doing the extraction.
Does anybody has used this library that can tell me if it is correct that it supports creating SFX files???
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您可以使用 DotNetZip 制作 SFX 文件。
yes, you can make SFX files using DotNetZip.