Open in InDesign attempts to open the currently viewed file in the default version of InDesign set on your system. If you do not have InDesign loaded on your system, you will see an error message.
In order for this to work, you must be using InDesign CS4 or later, as CS4 was the first version of InDesign that supported IDML.
Post your comment on this topic.