You can't install that old of a version. To use OptiFine with Aristois on 1.12.2 you must run forge.
Install 1.12.2 forge, then run the installer and select "1.12.2" and "forge modloader" and then place Optifine 1.12.2 in your /mods/ folder. Then run Forge from the launcher.