title: WiX Bootstrapper with custom WPF UI, canceling a single package from a bundle
body: <p>I have a wix bootstrapper project with multiple packages setup through bootstrapper bundle, and I'm having hard time to cancel a single package from the bundle. I use a custom WPF UI for my installer, and my goal is to do this job from <em>my</em> installer where I implement all bootstrapper events.</p>
  <p>Setting up the <code>e.Result = Result.Cancel</code> in any event (e.g. in events like <code>ExecuteProgress</code>, <code>ExecutePackageBegin</code>, <code>ExecutePackageComplete</code>, <code>DetectPackageBegin</code> or <code>DetectPackageComplete</code>) doesn't do any good.</p>
  <p>While <code>e.Result = Result.Cancel</code> assignment in <code>ExecuteProgress</code> event cancels/rolls back the whole installation, this same setup does in fact cancel/rollback the whole installation in the package level events too (e.g. in events like: <code>ExecutePackageBegin</code>, <code>ExecutePackageComplete</code>, <code>DetectPackageBegin</code> or <code>DetectPackageComplete</code>).</p>
  <p>Is there any solution for this?</p>
  <p>Again, my goal is to cancel a single (or few) packages arbitrarily, ignoring any rules setup in the bundle, using bootstrapper events in custom UI.</p>
  <p>(I'm using Wix 3.14 and Visual Studio 2019 with Wix extension)</p>
  <p>Thanks in advance</p>