Show a messageBox and quit the installer

bzr revid: stephane@tinyerp.com-20081031210249-dm6mnv5icmb2c24n
This commit is contained in:
Stephane Wirtel 2008-10-31 17:02:49 -04:00
parent 5f382fcae1
commit 6c47c45874
1 changed files with 2 additions and 1 deletions

View File

@ -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