You could checkout this Microsoft sample code, the thing is that WiX does not provide a bootstrapper/chainer - that's not coming until WiX 3.5 as the "Burn" tool.
I'm not sure what you're using in your original example, I'm assuming msbuild or something - which is not a WiX component.