用C#自解压程序

发布于 2024-10-26 20:07:23 字数 314 浏览 11 评论 0原文

当您使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

话少情深 2024-11-02 20:07:23

有没有人使用过这个库,可以告诉我它支持创建 SFX 文件是否正确???

是的,您可以使用 DotNetZip 制作 SFX 文件。

Does anybody has used this library that can tell me if it is correct that it supports creating SFX files???

yes, you can make SFX files using DotNetZip.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文