Take the 2-minute tour ×

I'm somewhat new to the world of WiX, so it's very possible I've missed something very obvious.

I've installed WiX 3.6 beta, and grabbed the source as well to work from (and adjusted it to use the WiX 3.6 installed binaries), but I'm having problems with the bootstrapper. I can get my custom UI to display, but it won't install anything - it fails with the following in the logs.

Error 0x80070006: Failed to write message type to pipe.
Error 0x80070006: Failed to write send message to pipe.
Error 0x80070006: Failed to send BURN_ELEVATION_MESSAGE_TYPE_EXECUTE_DEPENDENCY message to per-machine process.
Error 0x80070006: Failed to register the dependency on per-machine package.
Error 0x80070006: Failed to execute dependency action.
Error 0x80070006: Failed to execute apply.

The same thing happens if I use the WixUX in WiX source. If I (manually) run it as administrator, it'll install the file using either my GUI or WixUX. If I use the default WixStandardBootstrapperApplication, it installs fine regardless of the elevation.

The MSI file itself currently installs into UserData, so it doesn't actually need elevation.

My Bundle.wxs looks like:

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
    <Bundle Name="MahChats" Version="" Manufacturer="MahApps" IconSourceFile="../../../MahChats/src/MahChats/mahchats.ico" UpgradeCode="9c9a0cf4-659f-4543-b05a-962322fec4a0">
        <BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost">
            <Payload SourceFile='WixUX.dll' />
            <Payload Name='BootstrapperCore.config' SourceFile='WixUX.BootstrapperCore.config' />
            <PackageGroupRef Id="Netfx4Full"/>
            <MsiPackage Id='MahChats' Vital='yes' Name='MahChats.Setup.msi' SourceFile="C:\Code\mahchats\src\MahChats.Setup\bin\Debug\MahChats.Setup.msi" />
        <WixVariable Id="WixMbaPrereqPackageId" Value="Netfx4Full" />
        <WixVariable Id="WixMbaPrereqLicenseUrl" Value="NetfxLicense.rtf" />

        <util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full" Value="Version" Variable="Netfx4FullVersion" />
        <util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full" Value="Version" Variable="Netfx4x64FullVersion" Win64="yes" />
        <PackageGroup Id="Netfx4Full">
            <ExePackage Id="Netfx4Full"
                DetectCondition="Netfx4FullVersion AND (NOT VersionNT64 OR Netfx4x64FullVersion)" />

I've not really found any documentation on Burn, so I'm using the WixUX project to nut it out, and I'm using Bootstrapper.Engine.Plan(LaunchAction.Install); to attempt the install.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Paul, that is a bug. There were a bunch of fixes to dependency code over the holidays that very likely fixed this issue. Unfortunately, there is not a weekly build out due to issues with SourceForge that I'm working right now (literally). I expect a build out next Friday and encourage you to move to it as soon as it is available.

share|improve this answer
Thanks Rob, I'm more than "happy" for it to be a bug because I was scratching my head as to what I could possibly be doing wrong! Once it is up and running again, I've noticed in a few places you've called people out on contributing a 'prettier' sample UX/installer - I'll try and take up that challenge :) –  Paul Jenkins Jan 1 '12 at 2:01

Your Answer


