@@ -389,6 +389,28 @@ Section "Basque" BasqueLocale
389
389
390
390
SectionEnd
391
391
392
+
393
+ Section " Korean" KoreanLocale
394
+
395
+ SetOverwrite on
396
+ IfFileExists " $INSTDIR\.local" Local 0
397
+ IfFileExists " $LOCALAPPDATA\${DIST_NAME}\*.*" User Done
398
+ Local:
399
+ ClearErrors
400
+ FileOpen $1 " $INSTDIR\.locale" w
401
+ IfErrors Done
402
+ FileWrite $1 " ko_KR"
403
+ FileClose $1
404
+ User :
405
+ ClearErrors
406
+ FileOpen $1 " $LOCALAPPDATA\${DIST_NAME}\.locale" w
407
+ IfErrors Done
408
+ FileWrite $1 " ko_KR"
409
+ FileClose $1
410
+ Done:
411
+
412
+ SectionEnd
413
+
392
414
SectionGroupEnd
393
415
394
416
SectionGroup " Advanced"
@@ -456,7 +478,7 @@ Section "Registry Modifications" RegistryMods
456
478
457
479
; Write uninstall section keys
458
480
WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${DIST_NAME}" " InstallLocation" " $INSTDIR"
459
- WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${DIST_NAME}" " Publisher" " ${DIST_COMP}g "
481
+ WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${DIST_NAME}" " Publisher" " ${DIST_COMP}"
460
482
WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${DIST_NAME}" " DisplayVersion" " ${VERSION}"
461
483
WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${DIST_NAME}" " DisplayName" " ${DIST_NAME}"
462
484
WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${DIST_NAME}" " Comments" " Thank you for using ${DIST_NAME}."
@@ -509,6 +531,7 @@ SectionGroupEnd
509
531
!insertmacro MUI_DESCRIPTION_TEXT ${JapaneseLocale} " Changes ${DIST_NAME}'s display language to Japanese on next restart."
510
532
!insertmacro MUI_DESCRIPTION_TEXT ${GermanLocale} " Changes ${DIST_NAME}'s display language to German on next restart."
511
533
!insertmacro MUI_DESCRIPTION_TEXT ${BasqueLocale} " Changes ${DIST_NAME}'s display language to Basque on next restart."
534
+ !insertmacro MUI_DESCRIPTION_TEXT ${KoreanLocale} " Changes ${DIST_NAME}'s display language to Korean on next restart."
512
535
!insertmacro MUI_DESCRIPTION_TEXT ${StartMenuGroup} " Creates a start menu group and adds default ${DIST_NAME} links to the group."
513
536
!insertmacro MUI_DESCRIPTION_TEXT ${QuickShortcut} " Installs a ${DIST_NAME} shortcut to the Quick Launch bar."
514
537
!insertmacro MUI_DESCRIPTION_TEXT ${DesktopShortcut} " Installs a ${DIST_NAME} shortcut to the desktop."
@@ -692,6 +715,7 @@ Function .onSelChange
692
715
!insertmacro RadioButton ${JapaneseLocale}
693
716
!insertmacro RadioButton ${GermanLocale}
694
717
!insertmacro RadioButton ${BasqueLocale}
718
+ !insertmacro RadioButton ${KoreanLocale}
695
719
!insertmacro EndRadioButtons
696
720
${EndIf}
697
721
0 commit comments