diff --git a/setup.nsi b/setup.nsi index aec05264fb2..89d308723e9 100644 --- a/setup.nsi +++ b/setup.nsi @@ -119,6 +119,7 @@ Var STARTMENU_FOLDER ;-------------------------------- ;Installer Sections Function .onInit +!ifndef ALLINONE ;Language selection dialog Push "" Push ${LANG_ENGLISH} @@ -132,6 +133,7 @@ Function .onInit Pop $LANGUAGE StrCmp $LANGUAGE "cancel" 0 +2 Abort +!endif ClearErrors ReadRegStr $0 HKLM "Software\OpenERP Server" ""