Hi João
I've not tried this on IIS myself and in theory it should work, especially if the tests pass OK.
You will want to look at your servers error logs to see what the cause of the error 500 is (as that's a general error).
If you can provide specific error info we can either help advise, or if there's a bug, fix it to help everyone.
Let me know.
Matt