preprocessDest function

Pre-process destination engine. Throw an error message if the destination engine is not installed.