Failure creating bootstrapper larger than 2 GB #9192
Unanswered
martinsXXX
asked this question in
Questions
Replies: 2 comments
-
|
The Bundle's compressed archives (cabinets) do not support > 2GB in a single archive today, so you need to split your content across multiple cabinets. You'll need to ask WixSharp how to do that as you aren't using WiX directly. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thank you for your quick answer. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
We want to create an installer as bootstrapper-exe. We use Wix# as orchestrator of the bootstrapper-build-process with the WiX compiler. Wix fails if the files contained sum up to a size > 2 GB (we use compressed = true). All of the contained files are smaller than 600MB. In the following, I you see which commands we execute (in Wix#). It works fine if I remove a 300 MB file from the installer-bundle.
What is wrong? If You need any further information, feel free to ask.
Console output:
[exec] wix.exe : error WIX0001: WixToolset.Core.Native.WixNativeException: wixnative.exe failed with error code: -2147467259 - Unknown error (0x4005) Output:
[exec] bundle-attached.cab bundle-attached.cab a0
[exec] Error 0x80004005: failed to compress cabinet: C:\Users\schoell\AppData\Local\Temp\5tpznvus.kun\bundle-attached.cab
[exec] ---> System.ComponentModel.Win32Exception (16389): Unknown error (0x4005)
[exec] --- End of inner exception stack trace ---
[exec] at WixToolset.Core.Native.WixNativeExe.Run() in D:\a\wix\wix\src\wix\WixToolset.Core.Native\WixNativeExe.cs:line 81
[exec] at WixToolset.Core.Native.Cabinet.Compress(IEnumerable
1 files, CompressionLevel compressionLevel, Int32 maxSize, Int32 maxThresh) in D:\a\wix\wix\src\wix\WixToolset.Core.Native\Cabinet.cs:line 60 [exec] at WixToolset.Core.Burn.Bundles.CreateContainerCommand.Execute() in D:\a\wix\wix\src\wix\WixToolset.Core.Burn\Bundles\CreateContainerCommand.cs:line 63 [exec] at WixToolset.Core.Burn.Bundles.CreateNonUXContainers.CreateContainer(WixBundleContainerSymbol container, IEnumerable1 containerPayloads) in D:\a\wix\wix\src\wix\WixToolset.Core.Burn\Bundles\CreateNonUXContainers.cs:line 141[exec] at WixToolset.Core.Burn.Bundles.CreateNonUXContainers.Execute() in D:\a\wix\wix\src\wix\WixToolset.Core.Burn\Bundles\CreateNonUXContainers.cs:line 127
[exec] at WixToolset.Core.Burn.BindBundleCommand.Execute() in D:\a\wix\wix\src\wix\WixToolset.Core.Burn\Bind\BindBundleCommand.cs:line 447
[exec] at WixToolset.Core.Burn.BundleBackend.Bind(IBindContext context) in D:\a\wix\wix\src\wix\WixToolset.Core.Burn\BundleBackend.cs:line 23
[exec] at WixToolset.Core.Binder.BackendBind(IBindContext context) in D:\a\wix\wix\src\wix\WixToolset.Core\Binder.cs:line 74
[exec] at WixToolset.Core.Binder.Bind(IBindContext context) in D:\a\wix\wix\src\wix\WixToolset.Core\Binder.cs:line 40
[exec] at WixToolset.Core.CommandLine.BuildCommand.BindPhase(Intermediate output, IReadOnlyCollection
1 localizations, IReadOnlyCollection1 filterCultures, String cabCachePath, Int32 cabbingThreadCount, IReadOnlyCollection1 bindPaths, Dictionary2 bindVariables, InputsAndOutputs inputsOutputs, CancellationToken cancellationToken) in D:\a\wix\wix\src\wix\WixToolset.Core\CommandLine\BuildCommand.cs:line 324[exec] at WixToolset.Core.CommandLine.BuildCommand.ExecuteAsync(CancellationToken cancellationToken) in D:\a\wix\wix\src\wix\WixToolset.Core\CommandLine\BuildCommand.cs:line 152
[exec] at WixToolset.Tools.Program.Run(IServiceProvider serviceProvider, IMessageListener listener, String[] args, CancellationToken cancellationToken) in D:\a\wix\wix\src\wix\wix\Program.cs:line 103
[exec] at WixToolset.Tools.Program.Main(String[] args) in D:\a\wix\wix\src\wix\wix\Program.cs:line 48
[exec] Cannot build D:\VSMainGit1\libs\Installer_Debug_AnyCPU\setup.wxs
Open Source Maintenance Fee
wixtoolsetproject because I support the maintainers.Beta Was this translation helpful? Give feedback.
All reactions