I think it just slides right out. You don't have to unplug any of the wiring harness, just gently pull out the DME and set aside. Light brown relay will be underneath.
BMW '00 740il w/230,xxx miles, DIY timing chain guides complete! M60 Manifold, BDC Throttle Body, Performance gearing 3.46 LSD, Magnaflow Mufflers
BMW '97 ///M3/2/5 w/105,xxx miles
BMW '06 X3 w/130,XXX