Error while installing Postgresql 8.3 on Windows XP

I tried to install PostgreSQL on Windows XP using “PostgreSQL One-Click Installer” and got a cryptic message box telling about “error.installing.runtimes”. Googling for this message yielded nothing helpful so I thought I’d post my solution of this problem. I checked Windows’ Event Log and under System tab found a failure event from Windows Scripting Host telling that, basically, I tried to run a script but the host is inactive.

Well, to tell the truth, I inactivated it myself, using the xp-antispy proggy. The solution is to run xp-antispy, find “Deactivate Scripting Host” under “Misceallaneous Settings” and turn it off (make it red). After that PostgreSQL installs without errors.

After installation you can deactivate Scripting Host again, it looks that it’s not needed once PostgreSQL is installed.

~ by szeryf on 2009-02-22.

6 Responses to “Error while installing Postgresql 8.3 on Windows XP”

  1. Thanks a lot,
    Never would solve this error for my own.
    Yo´re the best ;)

  2. installing postgresql-8.3.7-1-windows throws the same error after deactivating Scripting Host too…need your brain to fix this :)

  3. vidman: you must activate Scripting Host, not deactivate it :) (turn off deactivation in xp-antispy lango). Maybe you didn’t apply changes in xp-antispy? Or there is something else that prevents intallation? Did you check Windows’ Event Log?

  4. Thanks a lot for your help!!!!!!!

  5. I’ve unchecked the “Deactivate Scripting Host” and apply Setting for this. But until now I couldn’t install the postgresql8.3.7.1-widows.exe.
    I’ve changed values setting of HKLM\Software\Microsoft\Windows Scripting Host\Setting from regedit into 0, but it’s still same.

    Any solution from my problem.

  6. Thanks dude. You saved my day. I wish enterprisedb should give more specific errors in their isntallers. grrr…

    Those who like postgreSQL should definitely check out the interactive webcasts/recorded online meetings/seminar. Here it is http://www.enterprisedb.com/learning/webcasts.do#ui-tabs-53. You have to register your email though. The quality will make up for the hassle. Keep in mind though that some of those listed webcasts are still to BE HELD in the FUTURE, so you cannot download all of them. However, it gives you the opportunity to ask questions/ participate in meeting polls.

    phitoz: tried reinstalling ? or tried using a software tool?

    http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en

    http://www.symantec.com/avcenter/noscript.exe (you can toggle to disable/enable WSH)

Leave a Reply