From 809394d383c4ab23ed3413aee06c68e7c8ba0108 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Thu, 4 Sep 2014 09:34:15 +0200 Subject: Include language xml files in the setup --- src/Setup/Setup.h | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++-- src/Signing/sign.bat | 4 +++ 2 files changed, 80 insertions(+), 2 deletions(-) diff --git a/src/Setup/Setup.h b/src/Setup/Setup.h index c391d5d1..a524ce40 100644 --- a/src/Setup/Setup.h +++ b/src/Setup/Setup.h @@ -26,7 +26,44 @@ static char *szFiles[]= "Averacrypt.sys", "Averacrypt-x64.sys", "Dveracrypt.sys", - "AVeraCrypt Setup.exe" + "AVeraCrypt Setup.exe", + "ALanguage.ar.xml", + "ALanguage.be.xml", + "ALanguage.bg.xml", + "ALanguage.ca.xml", + "ALanguage.cs.xml", + "ALanguage.da.xml", + "ALanguage.de.xml", + "ALanguage.el.xml", + "ALanguage.es.xml", + "ALanguage.et.xml", + "ALanguage.eu.xml", + "ALanguage.fa.xml", + "ALanguage.fi.xml", + "ALanguage.fr.xml", + "ALanguage.hu.xml", + "ALanguage.id.xml", + "ALanguage.it.xml", + "ALanguage.ja.xml", + "ALanguage.ka.xml", + "ALanguage.ko.xml", + "ALanguage.lv.xml", + "ALanguage.my.xml", + "ALanguage.nl.xml", + "ALanguage.nn.xml", + "ALanguage.pl.xml", + "ALanguage.pt-br.xml", + "ALanguage.ru.xml", + "ALanguage.sk.xml", + "ALanguage.sl.xml", + "ALanguage.sv.xml", + "ALanguage.tr.xml", + "ALanguage.uk.xml", + "ALanguage.uz.xml", + "ALanguage.vi.xml", + "ALanguage.zh-cn.xml", + "ALanguage.zh-hk.xml", + "ALanguage.zh-tw.xml" }; // Specifies what files are included in self-extracting packages (no other files will be packaged or extracted). @@ -37,7 +74,44 @@ static char *szCompressedFiles[]= "VeraCrypt.exe", "VeraCrypt Format.exe", "veracrypt.sys", - "veracrypt-x64.sys" + "veracrypt-x64.sys", + "Language.ar.xml", + "Language.be.xml", + "Language.bg.xml", + "Language.ca.xml", + "Language.cs.xml", + "Language.da.xml", + "Language.de.xml", + "Language.el.xml", + "Language.es.xml", + "Language.et.xml", + "Language.eu.xml", + "Language.fa.xml", + "Language.fi.xml", + "Language.fr.xml", + "Language.hu.xml", + "Language.id.xml", + "Language.it.xml", + "Language.ja.xml", + "Language.ka.xml", + "Language.ko.xml", + "Language.lv.xml", + "Language.my.xml", + "Language.nl.xml", + "Language.nn.xml", + "Language.pl.xml", + "Language.pt-br.xml", + "Language.ru.xml", + "Language.sk.xml", + "Language.sl.xml", + "Language.sv.xml", + "Language.tr.xml", + "Language.uk.xml", + "Language.uz.xml", + "Language.vi.xml", + "Language.zh-cn.xml", + "Language.zh-hk.xml", + "Language.zh-tw.xml" }; #define FILENAME_64BIT_DRIVER "veracrypt-x64.sys" diff --git a/src/Signing/sign.bat b/src/Signing/sign.bat index 97b22dc8..05c30a82 100644 --- a/src/Signing/sign.bat +++ b/src/Signing/sign.bat @@ -8,8 +8,12 @@ signtool sign /v /a /n IDRIX /ac Thawt_CodeSigning_CA.crt /t http://timestamp.ve cd "..\Release\Setup Files\" +copy /V /Y ..\..\..\Translations\*.xml . + "VeraCrypt Setup.exe" /p +del *.xml + cd "..\..\Signing" signtool sign /v /a /n IDRIX /ac Thawt_CodeSigning_CA.crt /t http://timestamp.verisign.com/scripts/timestamp.dll "..\Release\Setup Files\VeraCrypt Setup 1.0d.exe" -- cgit v1.2.3