You need to install the legacy version(s) from the CD(s) and manually patch up to the last patch before Reforged. Don’t try to connect to Battlenet. If you do, it will update to Reforged.
Alternatively, you can download the legacy version from Bliz. But the same applies: you can’t let them connect to Battlenet or they will update to Reforged.