Odoo 8 dan OpenERP 7 - Windows all in one: can't install postgreSQL after desinstalled it

Bingung beberapa kali instal ulang odoo tapi koq postgresql nya ga mau ikut di instal.
Eh ternyata penyakitnya postgresql bekas instal yang dulu walaupun udah di uninstal tapi masih ada di regedit.
Solusinya hapus folder postgresql di regedit
Berikut penjelasannya via launchpad:

https://bugs.launchpad.net/openobject-server/+bug/1115119

Bug Description

Install OpenERP7.0 with the windows all in one installer (download and install). Then unstall all installed programs (postgresql, server).

Try to reinstall, the custom install do not allow you to check the posgresql anymore while you desintalled it

Technical note: after investigation it seems that the PostgreSQL 9.x uninstaller does not cleanup the registry keys in the same fashion as the 8.3 did, and the following keys remain after a complete uninstall:

 - HKLM\Software\PostgreSQL
  `+- HKLM\Software\PostgreSQL\Installations
  `+- HKLM\Software\PostgreSQL\Services

Currently our installer just checks for the presence of the HKLM\Software\PostgreSQL entry, but it could still be there even if no PostgreSQL installation remains. So when it is present we should verify that at least one entry exists under HKLM\Software\PostgreSQL\Installations. The 8.3 installer apparently removed the PostgreSQL entry altogether, so that should work everywhere.

PS: when manually using regedit on a x64 system these keys will be found under HKLM\Software\Wow6432Node, which is the "reflection key" that is mapped to HKLM\Software for 32bits processes running on a 64bits machine. It can be ignored for all purposes except when manually viewing/editing the registry. The installer will run as 32bits so it will find them in the normal location.


--

Tambahan, biasanya masih ada problem yaitu saat proses instal di row:
Execute: "D:\Users\xxx\AppData\Local\Temp\postgresql-9.3.5-1-windows.exe" --mode unattended --prefix "d:\Program Files\Odoo 8.0-20150814\PostgreSQL" --datadir "d:\Program Files\Odoo 8.0-20150814\PostgreSQL\data" --servicename "PostgreSQL_For_Odoo" --serviceaccount "openpgsvc" --servicepassword "0p3npgsvcPWD" --superaccount "openpg" --superpassword "openpgpwd" --serverport 5432

akan muncul pesan eror yang menyatakan bahwa service "PostgreSQL_For_Odoo" exist.
Nah, solusinya adalah menghapus service dengan cara:

membuka Command Prompt / cmd.exe as administrator lalu masukkan command
sc delete PostgreSQL_For_Odoo

maka akan terhapus service odoo dan proses instal odoo harus diulang :)

Terima kasih

Comments

Popular posts from this blog

Windows XP SP3 Product Key

SEF pada Virtuemart

Tentang google page rank