The test.proj is a traversal project and should not have additional
targets. Create AllBuilt.testproj and move the test.proj Test target
to execute all test assemblies built by the WiX toolset.
Update Registration key was being deleted during a bundle to bundle upgrade.
Added version check so that only if the version was the same would the key be deleted.
This is to fix this scenario
Install BundleAv1
Install PatchBundleV1 (applies to BundleA)
Install BundleAv2 (this bundle includes PatchBundleV2 as an embedded bundle)
Before fix, during install of BundleAv2, PatchBundleV1 would be repaired as a related bundle and both V1 and V2 of the PatchBundles would be on the machine.
This fix skips the repair of the related bundle if it has the same provider key as an embedded bundle that is being installed, so only V2 of the patch bundle is on the machine at the end.
Also add support for passing Ancestors to embedded burn bundles to help prevent recursion.