Trouble Installing Craft 2.5 on Windows 10 Using Wamp 2.5
Alec Ritson's comment solved the problem.  His advice was to try 

localhost/sitename/public/index.php/admin


In other words, I had to add index.php to the URL (after public but before admin) and then everything worked fine.