File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -2104,11 +2104,14 @@ Function SetDefaultTcpPort
2104
2104
${endwhile}
2105
2105
FunctionEnd
2106
2106
2107
-
2108
- Function GetUIId
2107
+ !macro GetUIId UN
2108
+ Function ${UN} GetUIId
2109
2109
System::Call ' kernel32::GetUserDefaultUILanguage() i.r10'
2110
2110
Push $R0
2111
2111
FunctionEnd
2112
+ !macroend
2113
+ !insertmacro GetUIId " "
2114
+ !insertmacro GetUIId " un."
2112
2115
2113
2116
Function .onInit
2114
2117
Call CheckWindowsVersion
@@ -2423,4 +2426,14 @@ Function nsDialogsMorePageLeave
2423
2426
; ${endif}
2424
2427
2425
2428
2429
+ FunctionEnd
2430
+
2431
+ Function un.onInit
2432
+ Call un.GetUIId
2433
+ pop $R0
2434
+ ${if} $R0 == " 1049"
2435
+ ; !define MUI_LANGDLL_ALLLANGUAGES
2436
+ !insertmacro MUI_LANGDLL_DISPLAY ; select language
2437
+ ${endif}
2438
+
2426
2439
FunctionEnd
You can’t perform that action at this time.
0 commit comments