Unfaithfully Yours (1984)

Dudley Moore plays a composer who suspects his wife of cheating. He plots to kill her and frame it on her lover. The whole movie sort of compares his expectations of a perfect result to reality. In the end nothing turns out as planned.