Greetings Vinicius,
Please confirm these were the steps followed to troubleshoot this problem:
1. After the install failed on the PostgreSQL step, we opened the 'Factory-Installer.log' located here: <Install directory>\ThingWorxManufacturingApps
We could see an instance of this error message: "Failed to load SQL modules into the database cluster"
Following Polina's recommendation in this thread, we allowed additional user-level permissions for the install directory (in the Windows directory Properties, within the Security tab).
2. The "ThingWorx Platform Configuration Failed" error was alleviated by following recommendation number 3 from this post:
"If the installer has stopped at approximately 90% complete, and 5 minutes have elapsed, start the ThingWorx Servlet Engine Service manually from this directory in the Windows Explorer:
<Install path>\ThingWorxManufacturingApps\PTC_Servlet_Engine\bin\thingworxServerw.exe"
Best regards,
Steven M