The default installation path contains gta_sa.exe, which is not a valid directory.
Make sure you select "GTA San Andreas", without a slash at end.
And obviously make sure your GTA San Andreas works properly in single player first
Yep it does work in single player and
How do i do the first thing you said