equal
deleted
inserted
replaced
8 |
8 |
9 SetCompress off |
9 SetCompress off |
10 |
10 |
11 Name "Select Language" |
11 Name "Select Language" |
12 Caption " " |
12 Caption " " |
13 OutFile "${NSISDIR}\Contrib\ExperienceUI\LangDialog.exe" |
13 OutFile "$%TEMP%\LangDialog.exe" |
14 |
14 |
15 MiscButtonText "" "" "" OK |
15 MiscButtonText "" "" "" OK |
16 !define XPUI_DISABLEBG |
16 !define XPUI_DISABLEBG |
17 !define XPUI_ABORTPAGE_TEXT "The wizard was interrupted before the program could be installed.\r\n\r\nYour system has not been modified. To install the program at a later time, please run this setup wizard again.\r\n\r\n\r\n\r\n\r\nPlease click $\"$(XPUI_BUTTONTEXT_CLOSE)$\" to exit the NSIS installation wizard." |
17 !define XPUI_ABORTPAGE_TEXT "The wizard was interrupted before the program could be installed.\r\n\r\nYour system has not been modified. To install the program at a later time, please run this setup wizard again.\r\n\r\n\r\n\r\n\r\nPlease click $\"$(XPUI_BUTTONTEXT_CLOSE)$\" to exit the NSIS installation wizard." |
18 !define XPUI_ABORTPAGE_SUBTITLE "Setup did not complete successfully." |
18 !define XPUI_ABORTPAGE_SUBTITLE "Setup did not complete successfully." |
28 Call GetParameters |
28 Call GetParameters |
29 Pop $0 |
29 Pop $0 |
30 StrCmp $0 "/CancelDialog" 0 +2 |
30 StrCmp $0 "/CancelDialog" 0 +2 |
31 Abort |
31 Abort |
32 SetOutPath $PLUGINSDIR |
32 SetOutPath $PLUGINSDIR |
33 File "${NSISDIR}\Contrib\ExperienceUI\INI\LangDlg.ini" |
33 File "${XPUI_SYSDIR}\INI\LangDlg.ini" |
34 WriteINIStr "$PLUGINSDIR\LangDlg.ini" "Field 1" ListItems "${XPUI_LANGINI_LIST_B}" |
34 WriteINIStr "$PLUGINSDIR\LangDlg.ini" "Field 1" ListItems "${XPUI_LANGINI_LIST_B}" |
35 StrCpy $XPUI_TEMP1 "${XPUI_LANGINI_LIST_B}" |
35 StrCpy $XPUI_TEMP1 "${XPUI_LANGINI_LIST_B}" |
36 StrCpy $XPUI_HWND 0 |
36 StrCpy $XPUI_HWND 0 |
37 PipeLoop: |
37 PipeLoop: |
38 StrCpy $XPUI_TEMP2 $XPUI_TEMP1 1 $XPUI_HWND |
38 StrCpy $XPUI_TEMP2 $XPUI_TEMP1 1 $XPUI_HWND |