简体   繁体   English

单个.msi Windows软件包安装程序文件的最大大小是多少?

[英]What is the largest size that a single .msi windows package installer file can be?

We are doing some upload testing to the server, specifically taking in .msi package installer files. 我们正在对服务器进行一些上传测试,特别是接收.msi包安装程序文件。 Currently I can create a 2GB total file size .msi with the limited knowledge and Visusl Studio tools that I have, but am wondering if I can create a larger one. 目前我可以使用我所掌握的知识和Visusl Studio工具创建一个2GB的文件总大小.msi,但我想知道我是否可以创建一个更大的文件。

None of my googling has shown me a definitive answer, but I need to test the max file size that can be uploaded, which seems to be restricted by the max .msi file size, which I can't find or create. 我的谷歌搜索没有给我一个明确的答案,但我需要测试可以上传的最大文件大小,这似乎受到我无法找到或创建的最大.msi文件大小的限制。 I assume it's larger than 2GB, anyone know or can point me to the right resource? 我认为它大于2GB,任何人都知道或可以指向正确的资源?

What is the max .msi file size? 什么是最大.msi文件大小? If greater than 2GB, how do I create one? 如果大于2GB,我该如何创建一个?

The limit of 2 GB is for the CAB files included in the MSI package, not for the MSI database itself. 2 GB的限制适用于MSI包中包含的CAB文件,而不适用于MSI数据库本身。 To create a larger setup package you need to configure it to place the resources in multiple CAB files, next to the MSI package. 要创建更大的安装程序包,您需要将其配置为将资源放在MSI程序包旁边的多个CAB文件中。

This article should answer all your questions about MSI size as well as warn about various other limitations related to the MSI packages with lots of files / components. 本文应回答您关于MSI大小的所有问题,并警告有关具有大量文件/组件的MSI包的各种其他限制。

Additional links from MSDN: 来自MSDN的其他链接:

Hope this will bring you to the right solution. 希望这能为您带来正确的解决方案。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM