WIX/MSI 包中的压缩文件(打包的 EXE)使 MSI 大小增加两倍

发布于 2024-10-05 10:08:06 字数 287 浏览 1 评论 0原文

我有简单的 WiX MSI 安装程序脚本。该脚本生成只部署一个 exe 文件的包。该文件是封装为 exe 文件的 Java 应用程序。该exe的总体大小为10MB。不幸的是,当我构建 MSI 时,MSI 的最终大小增加了两倍 - 例如 20MB。

我尝试改变 将 Media/ CompressionLevel 属性设置为 none/high/low/mszip - 但可以获得可接受的 MSI 大小。

请帮助 - 我需要获得未压缩的 MSI,其大小与部署的 exe 大小相似 +/- 3-4 MB!

谢谢 !

I have simple WiX MSI installer script. This script generate package what deploy only one exe file. This file is Java application wrapped to exe file. Overall size of this exe is 10MB. Unfortunately when I get builded MSI final size of MSI increased by twice - e.g. 20MB.

I tried to change
attribute Media/CompressionLevel to none/high/low/mszip - but can get acceptable MSI size.

Please help - I need get uncompressed MSI with similar to deployed exe size +/- 3-4 MB!

Thank you !

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

拥有 2024-10-12 10:08:06

Windows Installer 本身仅支持一些非常基本的压缩格式。您可能想尝试一下InstallAware的Setup Squeezer

Windows Installer natively only supports some pretty basic compression formats. You might want to give InstallAware's Setup Squeezer a try.

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