Just in case that link goes bad if the old forum site goes away, I'll paste in the list of things that need to be uninstalled here to get a fresh start on reinstalling FMS
The installation will enable and configure IIS, so do not enable IIS prior to the installation.
Is the operating system Windows Server 2012 Standard and not R2 or another flavor?
If the IIS role is removed and then the server is redeployed, does deployment succeed?
If not, then perform the following steps for a clean wipe of all necessary components and then reinstall:
1. Uninstall all of the following from Add/Remove:
a. FileMaker Server 13
b. Java (all versions)
d. IIS URL Rewrite Module
e. Microsoft Application Request Routing
f. Microsoft External Cache for IIS
g. Microsoft Visual C++ 2012 Redistributable Package (x64)
h. Microsoft Web Farm Framework
2. Remove the IIS role from Server Manager
3. Restart the computer
4. Delete the inetpub folder located on the C:/ drive
5. Delete or rename the FileMaker Server folder located on the C:/ drive
Afterwards, reinstall FileMaker Server 13.0v5/9 with the full installer from your store email or the article below.