[wix-users] Bundle - including mba dependent DLLs
Jacob.Hoover at greenheck.com
Fri Feb 26 10:35:07 PST 2016
A MBA isn't required to have any of those... For example, the Wix MBA only uses BootstrapperCore.dll, mbahost.dll and mbapreq.dll for the WixBA.dll. Those Deployment assemblies I believe are part of the build process for creating installers/bundles, but aren't needed at runtime.
The only additional assemblies you should have to include in your BA are any dependencies you add, that aren't part of a prereq.
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Phill Hogland
Sent: Friday, February 26, 2016 11:03 AM
To: WiX Uses (wix-users at lists.wixtoolset.org) <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Bundle - including mba dependent DLLs
When I build my C# WPF mba there are a number of wix and systems dependencies referenced to my mba which are copied by the build process to the mba project's output folder. If I create a Payloads group to collect all of these DLLs (and config files) into the bundle, and then I run a bundle, if I compare the .ba folder created in the %temp% location to the Output folder from my mba project, it seems several of these referenced DLLs are both a different size and have different file metadata. For instance:
Microsoft.Deployment.WindowsInstaller.dll in the mba Output folder is versioned 184.108.40.2066 and is 176,128 bytes, but in the .ba folder at runtime it is blank version and 335, 360 bytes
Microsoft.Deployment.WindowsInstaller.Package.dll has similar behavior with a different size and blank file metadata in the .ba folder.
Microsoft.Deployment.Compression.Zip.dll and Microsoft.Deployment.WindowsInstaller.Linq.dll however, have the same version and file size in both locations.
I assume that this is expected behavior, as if I remove these 'altered' dlls from the payload the bundle still functions. But if I remove an 'un-changed' dependency, such as one related to Microsoft.Practices.Unity, then there are problems. So I guess that some of the expected wix dlls are being packed into a bundle for us.
This came up because those bundles have pdb files in my mba Output folder. While I can point VS to that folder, I also tried to add these pdbs to my bundle, for Debug builds. Curiously the pdbs for the non-changed dlls end up in the .ba folder but the pdbs for the above altered dlls do not end up in the .ba folder, even though they are all in the same PayloadGroup.
Any advice on which DLLs I should include in a bundle and whether this pdb behavior is intended and expected, is appreciated.
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users