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
Dark exception when extracting a bundle with detached containers #6298
Comments
Is there any chance you can add a failing test for this in https://github.com/wixtoolset/Core? |
I'm not familiar with the new code structure... |
|
Added the test- wixtoolset/Core#204 |
|
Which version of WiX are you building with?
3.11.2.4516
Which version of Visual Studio are you building with (if any)?
VS 2019 v6.8.1
Which version of the WiX Toolset Visual Studio Extension are you building with (if any)?
VS 2019
Which version of .NET are you building with?
.NET Framework 4.8
Describe the problem and the steps to reproduce it.
Create a bootstrapper project with detached containers.
Execute dark.exe to extract the packages
Getting an exception:
dark.exe : error DARK0001 : Could not find file 'D:\Projects\Tests\Bootstrapper-Detached-Container\Bootstrapper-Detached-Container\bin\Debug\Bootstrapper_Detached_Container\AttachedContainer\a0'.
Exception Type: System.IO.FileNotFoundException
Stack Trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
at Microsoft.Tools.WindowsInstallerXml.BurnReader.ExtractAttachedContainer(String outputDirectory, String tempDirectory)
at Microsoft.Tools.WindowsInstallerXml.Unbinder.UnbindBundle(String bundleFile, String exportBasePath)
at Microsoft.Tools.WindowsInstallerXml.Unbinder.Unbind(String file, OutputType outputType, String exportBasePath)
at Microsoft.Tools.WindowsInstallerXml.Tools.Dark.Run(String[] args)
Dark successfully extracts the detached cabinets
See attached solution that demonstrates the issue
Bootstrapper-Detached-Container.zip
The text was updated successfully, but these errors were encountered: