Comment 4 for bug 1115119

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote : Re: [Bug 1115119] Re: windows all in one: can't install postgreSQL after desinstalled it

On 03/05/2013 02:02 PM, Vo Minh Thu (OpenERP) wrote:
> Fixed server-side in the branch lp:~openerp-dev/openobject-
> server/7.0-bug-1115119-thu. A similar fix will be pushed shortly to the
> packaging script responsible for the nightlies.

Nice, thanks!

The EnumRegKey logic sounds correct based on the doc and example I see here:
  http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.2.5

The IfErrors line sounds redundant as the EnumRegKey seems to also set the
output var to an empty string in case of errors. Perhaps it's still useful to
clear the error flag and avoid side effects, but then it must be moved right
after the EnumRegKey call, otherwise StrCmp will always skip it.