I ordered the tray-mount variant of the foam because the top-mount version was sold out. I can confirm that the tray-mount works just fine on a top-mount aluminum xd64 case; it just seems to have a couple of additional cutouts for screwing down the PCB into a tray-mount case. Fits great, and works exactly as expected.
For the price, I definitely recommend purchasing this instead of cutting your own foam (trust me, I've tried.)