Mice are easier to deal with than rats but mice attract rats so deal with them ASAP. Mice chew wiring on cars and houses too, any sort of electrical wiring with plastic insulation is at risks.
What attracts them is one of four things, food, water, nesting material that can be shredded for their nest, and safety/peace and quiet.
If you have one of those four attractants there is nothing that has an odor or some sort of chemical is going to deter the mice. If there is a space with nothing the rodents, want, smelly stuff might encourage them to leave.
Traps rarely work long term, they catch the younger and dumber ones, the older breeding age rodents know better than to try something new. Sometimes people bait the traps without setting the traps and get the rodents accustomed to the trap but again, only the young and dumb ones fall for it.
IF it is the feed, you have to stop feeding the mice. Do so and they leave to find other food. Rodents rarely travel more than 100 feet, travel is quite dangerous due to natural predators, they like to live close to their needs. Bulk feed in metal drums with tight lids, clean up any paths they might use to travel in safety, expose them so the natural predators get some of them, and buy a treadle feeder. Watch the negative reviews closely, most treadle feeder are not completely rodent proof. Even the best ones cannot stop a rodent if it enters while the hens are eating but that is usually rats, not mice.
For a feeder to be rodent proof it needs a few things. Narrow and distant treadle, not a wide step close to the feed, prevents swarming.
An inward swinging lid that is held closed with adjustable springs, this prevents the mice and rats from just pushing the door open. You can have ten pounds of force needed on a door axle and due to leverage that translates to only one or one and a half pound at the door or lid. The guillotine style, like the Chinese made Grandpa feeder or the many Chinese clones, those are balanced so light for safety that even mice can push a lid up and get inside. You have to have those heavy springs holding that door closed tight. An inward door also turns the feeder into one heck of a rodent trap, once in, they can't push their way out. Great for squirrels if you live near a forest with tons of squirrels.
Last requirement, no plastic. Easily chewed through.
Stay off
Amazon, all you will find there are the Chinese made items with huge markups so they can pay the 35% cost of selling/shipping subsidies. And enough mark up that the returns costs can be absorbed. That doesn't mean you will pay more, there are feeders online at almost half the cost of the Chinese made ones on
Amazon if you search. You do need mostly full sized hens and never use a treadle feeder of any kind around chicks. Gotta be a pound or two minimum just to survive around a treadle feeder!