summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-03-04 21:57:09 +0000
committersr55 <[email protected]>2019-03-04 22:07:19 +0000
commitb59d2d24a16279b988b27107b7a5ecb99b717111 (patch)
tree0a34e3aefbc0e577cb7104dbd633f6967d87668a /win
parent90c8d6031205f1e06642006e63ac021515ab2a5e (diff)
WinGui: Update the installers to include the zh language files.
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrakeWPF/Installer/Installer64.nsi6
-rw-r--r--win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi6
2 files changed, 12 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Installer/Installer64.nsi b/win/CS/HandBrakeWPF/Installer/Installer64.nsi
index 9701f1106..386244d4f 100644
--- a/win/CS/HandBrakeWPF/Installer/Installer64.nsi
+++ b/win/CS/HandBrakeWPF/Installer/Installer64.nsi
@@ -162,6 +162,10 @@ Section "HandBrake" SEC01
SetOverwrite ifnewer
File "de\*.*"
+ SetOutPath "$INSTDIR\zh"
+ SetOverwrite ifnewer
+ File "zh\*.*"
+
; Copy the standard doc set into the doc folder
SetOutPath "$INSTDIR\doc"
SetOverwrite ifnewer
@@ -206,6 +210,8 @@ Section Uninstall
RMDir "$INSTDIR\doc"
Delete "$INSTDIR\de\*.*"
RMDir "$INSTDIR\de"
+ Delete "$INSTDIR\zh\*.*"
+ RMDir "$INSTDIR\zh"
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 0dada4a5b..a76dc0000 100644
--- a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi
+++ b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi
@@ -161,6 +161,10 @@ Section "HandBrake" SEC01
SetOverwrite ifnewer
File "de\*.*"
+ SetOutPath "$INSTDIR\zh"
+ SetOverwrite ifnewer
+ File "zh\*.*"
+
; Copy the standard doc set into the doc folder
SetOutPath "$INSTDIR\doc"
SetOverwrite ifnewer
@@ -202,6 +206,8 @@ Section Uninstall
RMDir "$INSTDIR\doc"
Delete "$INSTDIR\de\*.*"
RMDir "$INSTDIR\de"
+ Delete "$INSTDIR\zh\*.*"
+ RMDir "$INSTDIR\zh"
RMDir "$INSTDIR"
Delete "$SMPROGRAMS\HandBrake Nightly\Uninstall.lnk"