diff options
author | sr55 <[email protected]> | 2019-11-11 17:47:27 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2019-11-11 17:47:47 +0000 |
commit | 78010469ed0e1de6fbf4634ce2bfd942311188fd (patch) | |
tree | c0bc3eac0040d36257e0d19a2aef623baff8ec91 /win/CS/HandBrakeWPF/Installer | |
parent | 163ecac3c85475ebf465d5df9ee376370f24ef7f (diff) |
WinGui: Add missing language packs to the installer. Fixes #2407
Diffstat (limited to 'win/CS/HandBrakeWPF/Installer')
-rw-r--r-- | win/CS/HandBrakeWPF/Installer/Installer64.nsi | 31 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi | 32 |
2 files changed, 62 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Installer/Installer64.nsi b/win/CS/HandBrakeWPF/Installer/Installer64.nsi index 68e8c65ca..9342c7bcc 100644 --- a/win/CS/HandBrakeWPF/Installer/Installer64.nsi +++ b/win/CS/HandBrakeWPF/Installer/Installer64.nsi @@ -161,6 +161,26 @@ Section "HandBrake" SEC01 SetOverwrite ifnewer
File "zh\*.*"
+ SetOutPath "$INSTDIR\es"
+ SetOverwrite ifnewer
+ File "es\*.*"
+
+ SetOutPath "$INSTDIR\fr"
+ SetOverwrite ifnewer
+ File "fr\*.*"
+
+ SetOutPath "$INSTDIR\ko"
+ SetOverwrite ifnewer
+ File "ko\*.*"
+
+ SetOutPath "$INSTDIR\ru"
+ SetOverwrite ifnewer
+ File "ru\*.*"
+
+ SetOutPath "$INSTDIR\tr"
+ SetOverwrite ifnewer
+ File "tr\*.*"
+
; Copy the standard doc set into the doc folder
SetOutPath "$INSTDIR\doc"
SetOverwrite ifnewer
@@ -207,6 +227,17 @@ Section Uninstall RMDir "$INSTDIR\de"
Delete "$INSTDIR\zh\*.*"
RMDir "$INSTDIR\zh"
+ Delete "$INSTDIR\es\*.*"
+ RMDir "$INSTDIR\es"
+ Delete "$INSTDIR\fr\*.*"
+ RMDir "$INSTDIR\fr"
+ Delete "$INSTDIR\ko\*.*"
+ RMDir "$INSTDIR\ko"
+ Delete "$INSTDIR\ru\*.*"
+ RMDir "$INSTDIR\ru"
+ Delete "$INSTDIR\tr\*.*"
+ RMDir "$INSTDIR\tr"
+ RMDir "$INSTDIR"
Delete "$SMPROGRAMS\HandBrake\Uninstall.lnk"
Delete "$DESKTOP\HandBrake.lnk"
diff --git a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi index 8a883982a..8cea32af3 100644 --- a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi +++ b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi @@ -151,7 +151,7 @@ Section "HandBrake" SEC01 File "*.config"
File "HandBrake*.pdb"
- ; Copy the languages
+ ; Copy the languages
SetOutPath "$INSTDIR\de"
SetOverwrite ifnewer
File "de\*.*"
@@ -160,6 +160,26 @@ Section "HandBrake" SEC01 SetOverwrite ifnewer
File "zh\*.*"
+ SetOutPath "$INSTDIR\es"
+ SetOverwrite ifnewer
+ File "es\*.*"
+
+ SetOutPath "$INSTDIR\fr"
+ SetOverwrite ifnewer
+ File "fr\*.*"
+
+ SetOutPath "$INSTDIR\ko"
+ SetOverwrite ifnewer
+ File "ko\*.*"
+
+ SetOutPath "$INSTDIR\ru"
+ SetOverwrite ifnewer
+ File "ru\*.*"
+
+ SetOutPath "$INSTDIR\tr"
+ SetOverwrite ifnewer
+ File "tr\*.*"
+
; Copy the standard doc set into the doc folder
SetOutPath "$INSTDIR\doc"
SetOverwrite ifnewer
@@ -203,6 +223,16 @@ Section Uninstall RMDir "$INSTDIR\de"
Delete "$INSTDIR\zh\*.*"
RMDir "$INSTDIR\zh"
+ Delete "$INSTDIR\es\*.*"
+ RMDir "$INSTDIR\es"
+ Delete "$INSTDIR\fr\*.*"
+ RMDir "$INSTDIR\fr"
+ Delete "$INSTDIR\ko\*.*"
+ RMDir "$INSTDIR\ko"
+ Delete "$INSTDIR\ru\*.*"
+ RMDir "$INSTDIR\ru"
+ Delete "$INSTDIR\tr\*.*"
+ RMDir "$INSTDIR\tr"
RMDir "$INSTDIR"
Delete "$SMPROGRAMS\HandBrake Nightly\Uninstall.lnk"
|