I think you need to publish from WED, not SED, because only WED creates the starter file (WDF) the engine needs for reading the window definiton.