;--------------------------------
;Installer Sections
Function .onInit
+!ifndef ALLINONE
;Language selection dialog
Push ""
Push ${LANG_ENGLISH}
Pop $LANGUAGE
StrCmp $LANGUAGE "cancel" 0 +2
Abort
+!endif
ClearErrors
ReadRegStr $0 HKLM "Software\OpenERP Server" ""