title: PostgreSQL 9 install on Windows: "Unable to write inside TEMP environment path."
body: <p>I am attempting to install PostgreSQL 9 (postgresql-9.0.3-1-windows.exe) on my WinXP machine and get the following error at the start:</p>
  
  <p><img src="https://i.stack.imgur.com/0bUdn.png" alt="Unable to write inside TEMP environment variable path."></p>
  
  <p>Some googling around yielded some advice that suggested <a href="http://1stopit.blogspot.com/2011/01/postgresql-83-and-84-fails-to-install.html" rel="noreferrer">Windows Scripting Host might be disabled</a>. I've checked and WSH is definitely enabled, so it must be something else. Question is, what?</p>
  
  <p>I can see a file called <strong>prerun_checks.vbs</strong> is created in %TEMP% and when I try to run this manually, I get the following:</p>
  
  <p><img src="https://i.stack.imgur.com/gCEoA.png" alt="enter image description here"></p>
  
  <p>Which looks like a permissions error. However, I am an Admin, and I've given myself full control of the temp folder and it's still not working.</p>
  
  <p>Any help appreciated.</p>