New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support >2GB media volumes with MediaTemplate #4674
Comments
Can you send a pull request instead? It'd be easier to discuss. See http://wixtoolset.org/development/.
|
Pull request sended wixtoolset/wix3#208
|
Will review PR.
|
Hello @barnson! This problem will be (or can be) solved? Do you need more detail? Do you need something else to solve this problem? |
@abzaver I agree with your comments in PR 208. MediaTemplate was designed to create multiple cabs, not multiple volumes. More extensive changes are necessary to make it support both. It's something that probably can be done only in v4.0. |
As @barnson notes above, the resolution to this issue goes beyond MediaTemplate. This issue should be considered in relation to enhancing the concept of a "release" in the WiX language as a whole. That work will not be started in WiX v4. |
I found incorrect behavior when creating a multi-volume installations (using
MediaTemplate
element). Value of attributeMaximumUncompressedMediaSize
(which shall mean the size of the media, such as CD, DVD, DVD-DL, BD, etc.) is ignored when it is larger than 2 GB. This is due to a restriction on the size of the cab-files.As a result, it is impossible to get media larger than 2GB. This solution is valid for the CD, but does not account for DVD, DVD-DL, BD. This is the problem:
MaximumUncompressedMediaSize
shall mean the size of the media (CD, DVD, DVD-DL, BD), but in fact it is the size of cab-file.To solve this problem, I suggest using the following logic: take the sum of the size of cab-files and create another media if the sum exceeds the
MaximumUncompressedMediaSize
. Thus on the same media will be placed a few cab-files and can not be limited size of the media.Below is my solution to the problem as a unified diff. I used the code from the repository
https://github.com/wixtoolset/wix3.git
, develop branch, commit is:SHA-1: b2691192b83550c66baff879b249f51467286d41 * Merge pull request #143 from wixbuild/develop WixBuild: Version 3.9.901.0
Remains the problem with the placement of cab-files into directories that have names matching the labels of volumes of media.
The text was updated successfully, but these errors were encountered: