Try this if it hangs on installation on Windows

Permalink 1 user found helpful
There's a few things you'll need to check, but if you're doing a local install, go to your Device Manager. Hit Windows-X to go to it on Win8, or just type it into the search bar on Windows 7 and earlier.

Once you're there, click on "Disk Drives" and then choose whichever drive you have installed php/mysql onto. Right-click on it and go to "properties." Go to policies. Here, you'll find a setting that has mystified computer gurus for a long time.

Under policies, there are two checkboxes. The first enables a write-buffer. The second one, unchecked, disables that same write-buffer. Checking the second box will improve the speed at which all files are able to write to your hard drive. Meaning, writing any SQL database will go much faster.

You will get a warning about how it may cause data not to be flushed in a power outage. If you're on a laptop, you never have to worry about this. On a desktop, get a battery backup power strip and if the power goes out, you won't have a problem.