Contrib/ExperienceUI/Langpage.nsi
changeset 11 2cb95c9bb633
parent 0 d5ce4c64ef88
--- a/Contrib/ExperienceUI/Langpage.nsi	Mon Aug 03 21:26:49 2009 -0400
+++ b/Contrib/ExperienceUI/Langpage.nsi	Mon Aug 03 21:36:03 2009 -0400
@@ -10,7 +10,7 @@
 
 Name "Select Language"
 Caption " "
-OutFile "${NSISDIR}\Contrib\ExperienceUI\LangDialog.exe"
+OutFile "$%TEMP%\LangDialog.exe"
 
 MiscButtonText "" "" "" OK
 !define XPUI_DISABLEBG
@@ -30,7 +30,7 @@
 StrCmp $0 "/CancelDialog" 0 +2
 Abort
 SetOutPath $PLUGINSDIR
-File "${NSISDIR}\Contrib\ExperienceUI\INI\LangDlg.ini"
+File "${XPUI_SYSDIR}\INI\LangDlg.ini"
 WriteINIStr "$PLUGINSDIR\LangDlg.ini" "Field 1" ListItems "${XPUI_LANGINI_LIST_B}"
 StrCpy $XPUI_TEMP1 "${XPUI_LANGINI_LIST_B}"
 StrCpy $XPUI_HWND 0