Thursday 22 December 2011

Project-OPen: "PostgreSQL is already present in this computer"/"Warning: the user postgres is already present in this computer! The installer cannot continue!"

I am trying my hands on Project-open a free open source tool for projects, time-sheets and HR maintenance.

I installed Ver 3.5 in Windows XP Machine did something and forgot it. After some days when i tried to use it the administrative password entirely skipped my mind. So i uninstalled it and again when i tried installing i faced these two errors.

 "Warning :PostgreSQL is already present in this computer ! The installer cannot continue"

"Warning: the user postgres is already present in this computer! The installer cannot continue!"

To Remove First error:

1) I used Control Panel-> Add remove program to remove project-open. I also used CCleaner to clean registry but the same error keeps coming. I used Revo uninstaller also but it showed no reference to PostgresSQL.

So i started searching registry -> Regedit-> search for "postgres" . I found four reference to postgres in windows registry.
1) "HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL
2) HKEY_Users
3) Somewhere inside Windows
4) Somewhere in Current Version -> Profile List.

I deleted all and i got rid of first error but second started coming.

2)  To Remove second error i searched Google and found that we need to remove user from

My computer-> Manage-> Local Users and groups->Users-> delete "postgres" user

Also thorugh command promt u can delete the user by giving following command in command promp:

net user postgres /delete


After this i was able to install Project-open again.

Its there in project-open documentation also :-) got when i solved the problem :-)

http://www.project-open.org/documentation/install_windows