Preyer studied with Simon Sechter from 1828 to 1834. He became professor of harmony and composition at the Vienna Conservatory in 1839, and from 1844 to 1849 he was director of the conservatory. He was also Vizehofkapellmeister and Domkapellmeister of St. Stephan.