From 6c47c45874ca9403ce913ed6739ca9625aa80a5f Mon Sep 17 00:00:00 2001 From: Stephane Wirtel Date: Fri, 31 Oct 2008 17:02:49 -0400 Subject: [PATCH] Show a messageBox and quit the installer bzr revid: stephane@tinyerp.com-20081031210249-dm6mnv5icmb2c24n --- openerp-server-installer.nsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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