Hot Lead and Cold Feet (1978)
Hot Lead and Cold Feet is a comedy western film produced by Walt Disney Productions and distributed by Buena Vista Distribution Company, starring Jim Dale, Don Knotts, Karen Valentine, Darren McGavin, and Jack Elam released on July 5, 1978.
More at Wikipedia.