Contrib/ExperienceUI/Lang.nsh
changeset 11 2cb95c9bb633
parent 2 ccebbad46f6a
equal deleted inserted replaced
10:15454f9ed3ea 11:2cb95c9bb633
   117 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_BRANDINGTEXT
   117 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_BRANDINGTEXT
   118 
   118 
   119 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_BRANDINGTEXT_COLOR_FG
   119 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_BRANDINGTEXT_COLOR_FG
   120 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_BRANDINGTEXT_COLOR_BG
   120 !insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_BRANDINGTEXT_COLOR_BG
   121 
   121 
   122 !execute `"${NSISDIR}\MakeNSIS.exe" "/NOCD" "/V0" "/DCHECKLIST=${XPUI_LANGPAGE_CHECKFILE}" "/DXPUI_LANGINI_LIST_B=${XPUI_LANGINI_LIST}" "/DXPUI_LANGIDLIST_LIST_B=${XPUI_LANGIDLIST_LIST}" ${XPUI_LANGPAGE_COMPILE_PARAMS} "${XPUI_SYSDIR}\LangPage.nsi"`
   122 !execute `"${NSISDIR}\MakeNSIS.exe" "/NOCD" "/V0" "/DCHECKLIST=${XPUI_LANGPAGE_CHECKFILE}" "/DXPUI_LANGINI_LIST_B=${XPUI_LANGINI_LIST}" "/DXPUI_LANGIDLIST_LIST_B=${XPUI_LANGIDLIST_LIST}" ${XPUI_LANGPAGE_COMPILE_PARAMS} "${XPUI_SYSDIR}\Langpage.nsi"`
   123 
   123 
   124 !macroend
   124 !macroend
   125 
   125 
   126 !macro XPUI_LANGPAGE_DISPLAY
   126 !macro XPUI_LANGPAGE_DISPLAY
   127 
   127 
   138   XPUI.langdll_show:
   138   XPUI.langdll_show:
   139 !endif
   139 !endif
   140 !insertmacro XPUI_LANGPAGE_COMPILE
   140 !insertmacro XPUI_LANGPAGE_COMPILE
   141 InitPluginsDir
   141 InitPluginsDir
   142 SetOutPath $PLUGINSDIR
   142 SetOutPath $PLUGINSDIR
   143 File `${XPUI_SYSDIR}\LangDialog.exe`
   143 File `$%TEMP%\LangDialog.exe`
   144 !system `del "${XPUI_SYSDIR}\LangDialog.exe"`
   144 !system `del "${XPUI_SYSDIR}\LangDialog.exe"`
   145 ExecWait $PLUGINSDIR\LangDialog.exe $LANGUAGE
   145 ExecWait $PLUGINSDIR\LangDialog.exe $LANGUAGE
   146 Delete $PLUGINSDIR\LangDialog.exe
   146 Delete $PLUGINSDIR\LangDialog.exe
   147 StrCmp $LANGUAGE 1 `` +2
   147 StrCmp $LANGUAGE 1 `` +2
   148 Abort
   148 Abort