From d918cbfc42853adee280446cbb109c5dd469b15d Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 11 Feb 2010 08:15:11 +0100 Subject: [PATCH] Include the Chinese Simplified man pages in the installer --- installer/mkvtoolnix-unicode.nsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/installer/mkvtoolnix-unicode.nsi b/installer/mkvtoolnix-unicode.nsi index 85aebf2ca..c8ac4d78c 100644 --- a/installer/mkvtoolnix-unicode.nsi +++ b/installer/mkvtoolnix-unicode.nsi @@ -108,6 +108,12 @@ Section "Program files" SEC01 File "doc\ja\mkvmerge.html" File "doc\ja\mkvpropedit.html" File "doc\ja\mmg.html" + SetOutPath "$INSTDIR\doc\zh_CN" + File "doc\zh_CN\mkvextract.html" + File "doc\zh_CN\mkvinfo.html" + File "doc\zh_CN\mkvmerge.html" + File "doc\zh_CN\mkvpropedit.html" + File "doc\zh_CN\mmg.html" SetOutPath "$INSTDIR\doc\guide\en" File "doc\guide\en\mkvmerge-gui.hhc" File "doc\guide\en\mkvmerge-gui.hhk" @@ -224,6 +230,11 @@ Section "Program files" SEC01 CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\mkvinfo CLI reference.lnk" "$INSTDIR\doc\mkvinfo.html" CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\mkvextract CLI reference.lnk" "$INSTDIR\doc\mkvextract.html" CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\mkvpropedit CLI reference.lnk" "$INSTDIR\doc\mkvpropedit.html" + CreateDirectory "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Chinese Simplified" + CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Chinese Simplified\mkvmerge CLI reference.lnk" "$INSTDIR\doc\zh_CN\mkvmerge.html" + CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Chinese Simplified\mkvinfo CLI reference.lnk" "$INSTDIR\doc\zh_CN\mkvinfo.html" + CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Chinese Simplified\mkvextract CLI reference.lnk" "$INSTDIR\doc\zh_CN\mkvextract.html" + CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Chinese Simplified\mkvpropedit CLI reference.lnk" "$INSTDIR\doc\zh_CN\mkvpropedit.html" CreateDirectory "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Japanese" CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Japanese\mkvmerge CLI reference.lnk" "$INSTDIR\doc\ja\mkvmerge.html" CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Japanese\mkvinfo CLI reference.lnk" "$INSTDIR\doc\ja\mkvinfo.html" @@ -292,6 +303,10 @@ Section Uninstall Delete "$SMPROGRAMS\$ICONS_GROUP\mkvmerge GUI.lnk" Delete "$SMPROGRAMS\$ICONS_GROUP\mkvinfo GUI.lnk" Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\mkvmerge GUI guide.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Chinese Simplified\mkvpropedit CLI reference.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Chinese Simplified\mkvmerge CLI reference.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Chinese Simplified\mkvinfo CLI reference.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Chinese Simplified\mkvextract CLI reference.lnk" Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Japanese\mkvpropedit CLI reference.lnk" Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Japanese\mkvmerge CLI reference.lnk" Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Japanese\mkvinfo CLI reference.lnk" @@ -305,6 +320,7 @@ Section Uninstall Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Other documentation\The GNU GPL.lnk" RMDir "$SMPROGRAMS\$ICONS_GROUP\Documentation\Other documentation" + RMDir "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Chinese Simplified" RMDir "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Japanese" RMDir "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference" RMDir "$SMPROGRAMS\$ICONS_GROUP\Documentation"