Yet, public school teachers have a pay schedule that is pretty cut and dry, government workers' salaries are public record, etc. Somehow people manage to work those jobs without any kind of mutiny due to freely available information. I'm sure there are other companies where this works out just fine.
Mostly, companies take advantage of the information asymmetry to pay as little as they possibly have to. It works for them as long as people don't find out their getting screwed. If people find out, they negotiate better. Ultimately, that probably leads to people getting paid better or getting a better paying job.
If companies just took care of the employees well to begin with, it wouldn't matter if people knew how much other people were getting paid. At the end of the day, it's a problem of greed, and that's an unsolvable problem as long as humans are involved.