Getting this error when trying to install PostgreSQL 9.0. Have tried everything from changing the environment variable path to disabling McAfee. Windows Script Host is installed. The log file is below. Vbs files ARE associated with Windows Script Host. This is on Win 2008.
Preferred installation mode : qt
Trying to init installer in mode qt
Mode qt successfully initialized
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.0 Data Directory. Setting variable iDataDirectory to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.0 Base Directory. Setting variable iBaseDirectory to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.0 Service ID. Setting variable iServiceName to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.0 Service Account. Setting variable iServiceAccount to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.0 Super User. Setting variable iSuperuser to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.0 Branding. Setting variable iBranding to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.0 Version. Setting variable brandingVer to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.0 Shortcuts. Setting variable iShortcut to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.0 DisableStackBuilder. Setting variable iDisableStackBuilder to empty value
[12:38:07] Existing base directory:
[12:38:07] Existing data directory:
[12:38:07] Using branding: PostgreSQL 9.0
[12:38:07] Using Super User: postgres and Service Account: postgres
[12:38:07] Using Service Name: postgresql-x64-9.0
Executing cscript //NoLogo "C:\Users\john.doe\AppData\Local Settings\Temp\prerun_checks.vbs"
Script exit code: 1
Script output:
Input Error: There is no script engine for file extension ".vbs".
Script stderr:
Program ended with an error exit code
Error running cscript //NoLogo "C:\Users\john.doe\AppData\Local Settings\Temp\prerun_checks.vbs" : Program ended with an error exit code