Fastbolt is correct. Pistol sights are installed at S&W by placing the slide in a fixture, and a hydraulic press pushes the sights to the location programmed into the machine, which has always appeared to me to be dead center.
Adjusting the sights is a joke around here. Almost no shooters other than the oldies can shoot a group tight enough a 25 yards to even figure out what adjustments to make to the sights. Certainly 5 or 7 yards tells you absolutely nothing.
These days, since everyone "graduates" to a full power centerfire, such as 9mm, .40 or .45 the moment they start shooting, the cost of ammo, the inability to check for "flinch," and all sorts of other factors mean that most new shooters do not practice enough, and they have no knowledge of how to control the trigger, to align the sights properly or to properly follow-through to really ever become a decent shooter.
"Minute of B-27" at about 10 feet is about the norm for most, if not all, shooters on the line at every range I visit.
Every new shooter would be wise to get a 22 first and actually learn to shoot. Shooting is not "instinctive." Shooting is based on a considerable amount of consistent practice in which hand and eye coordination is carefully developed to weed out the bad habits, the "flinching," and it is based upon many thousands of rounds of "muscle memory" being properly developed.
We are all very fortunate that shooting is NOT instinctive. If it were, all of the miscreants of the world would kill many more people than they do.
Oh, and about sight adjustment: Even if a factory shooter adjusted the sights before the pistol left the factory, it would be a waste of effort as every shooter "sees" the sights enough differently to require adjustment to suit the individual. That said, however, until you can hold all of them on, say, a paper plate at 25 yards, don't waste time adjusting your sights. Adjust your grip, get your arm directly behind the pistol, and learn to break that trigger when the sights are on target without a "flinch." Only then will you even know if the sights are off.
Adjusting sights without first learning to shoot is sort of like seasoning your food before you taste it - you have no idea what it actually needs.