--- a/Contrib/ExperienceUI/Lang.nsh Mon Aug 03 21:26:49 2009 -0400
+++ b/Contrib/ExperienceUI/Lang.nsh Mon Aug 03 21:36:03 2009 -0400
@@ -119,7 +119,7 @@
!insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_BRANDINGTEXT_COLOR_FG
!insertmacro XPUI_LANGPAGE_COMPILE_ATTRIB_FORCE XPUI_BRANDINGTEXT_COLOR_BG
-!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"`
+!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"`
!macroend
@@ -140,7 +140,7 @@
!insertmacro XPUI_LANGPAGE_COMPILE
InitPluginsDir
SetOutPath $PLUGINSDIR
-File `${XPUI_SYSDIR}\LangDialog.exe`
+File `$%TEMP%\LangDialog.exe`
!system `del "${XPUI_SYSDIR}\LangDialog.exe"`
ExecWait $PLUGINSDIR\LangDialog.exe $LANGUAGE
Delete $PLUGINSDIR\LangDialog.exe