简体   繁体   中英

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. 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.

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. I assume it's larger than 2GB, anyone know or can point me to the right resource?

What is the max .msi file size? If greater than 2GB, how do I create one?

The limit of 2 GB is for the CAB files included in the MSI package, not for the MSI database itself. To create a larger setup package you need to configure it to place the resources in multiple CAB files, next to the MSI package.

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.

Additional links from MSDN:

Hope this will bring you to the right solution.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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