Use label instread magic number

bzr revid: stephane@tinyerp.com-20081031213201-uzd7th8xivjz68zk
This commit is contained in:
Stephane Wirtel
2008-10-31 17:32:01 -04:00
parent 6c47c45874
commit dcbad420a4
+2 -1
View File
@@ -91,10 +91,11 @@ Var STARTMENU_FOLDER
Section "OpenERP Server" SecOpenERPServer
ClearErrors
ReadRegStr $0 HKCU "Software\OpenERP Server" ""
IfErrors +2 0
IfErrors DoInstall 0
MessageBox MB_OK "Can't install this version of OpenERP Server because there is a previous installation on this system !"
Quit
DoInstall:
nsExec::Exec "net stop openerp-service"
sleep 2