[FIX] Use allinone flag
authorStephane Wirtel <stephane@tinyerp.com>
Mon, 22 Dec 2008 14:05:47 +0000 (15:05 +0100)
committerStephane Wirtel <stephane@tinyerp.com>
Mon, 22 Dec 2008 14:05:47 +0000 (15:05 +0100)
bzr revid: stephane@tinyerp.com-20081222140547-be2n3s7jy59m86t1

setup.nsi

index aec0526..89d3087 100644 (file)
--- 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" ""