title: PostgreSQL reinstall : Failed to load sql modules into the database cluster
body: <p>I tried to re-install postgresql 9.5.3-1 on my windows 7 without success. In fact, at each attempt, I have the message: </p>
  
  <blockquote>
    <p>failed to load sql modules into the database cluster</p>
  </blockquote>
  
  <p>then, I get the message: </p>
  
  <blockquote>
    <p>Error running post install step. Installation may not complete correctly. Error reading C:/Program Files/PostgreSQL/9.5/data/postgresql.conf</p>
  </blockquote>
  
  <p>I tried several attempts to solve this issue</p>
  
  <ul>
  <li>change the installation folder</li>
  <li>switch to 32-bit</li>
  <li>reboot</li>
  <li>clean the register before reinstalling</li>
  <li>install as a postgres user as describe here (<a href="https://stackoverflow.com/questions/30689251/failed-to-load-sql-modules-into-the-database-cluster-during-postgresql-installat">Failed to load sql modules into the database cluster during PostgreSQL Installation</a>)</li>
  </ul>
  
  <p>PS: installation language is French</p>
  
  <p><img src="https://i.stack.imgur.com/HXQfb.png" alt="Failed to load sql modules"></p>
  
  <p><img src="https://i.stack.imgur.com/UiJLU.png" alt="Error reading"></p>