diff --git a/openerp-server-installer.nsi b/openerp-server-installer.nsi index 3784674d1af..2d03ec8b8c6 100644 --- a/openerp-server-installer.nsi +++ b/openerp-server-installer.nsi @@ -92,7 +92,8 @@ Section "OpenERP Server" SecOpenERPServer ClearErrors ReadRegStr $0 HKCU "Software\OpenERP Server" "" IfErrors +2 0 - Abort "Can't install this version of OpenERP Server, because there is a previous installation on this system !" + MessageBox MB_OK "Can't install this version of OpenERP Server because there is a previous installation on this system !" + Quit nsExec::Exec "net stop openerp-service" sleep 2