X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;ds=sidebyside;f=setup.nsi;h=859ebdb39e2f6688617da08ead764bf32a72f66e;hb=339b549f4142eff20cfc6ac27f0b4de5a059aa0a;hp=ab58915e4e95f9e8a761c9afff05b3d7ffef027b;hpb=3e61b17a044752ea92170b2c70ac086dfcc33991;p=odoo%2Fodoo.git diff --git a/setup.nsi b/setup.nsi index ab58915..859ebdb 100644 --- a/setup.nsi +++ b/setup.nsi @@ -21,7 +21,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ##################################################################################### !include 'MUI2.nsh' @@ -291,9 +291,10 @@ Function .onInit !insertmacro MUI_LANGDLL_DISPLAY ClearErrors - EnumRegKey $0 HKLM "SOFTWARE\PostgreSQL" 0 + EnumRegKey $0 HKLM "SOFTWARE\PostgreSQL\Installations" 0 IfErrors DoInstallPostgreSQL 0 - StrCpy $HasPostgreSQL 1 + StrCmp $0 "" DoInstallPostgreSQL + StrCpy $HasPostgreSQL 1 DoInstallPostgreSQL: FunctionEnd