I have the MSI Z170a Titanium Edition mobo and this was the solution for getting the mouse and keyboard to work in Windows 7 Professional; both during the installation AND after.
1
Setup->Advanced->USB-controller
disable XCHI Hand-off
2
Setup->Advanced->USB-controller
enable Legacy Support
3...