VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-09-04 09:34:15 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:23:13 +0100
commit809394d383c4ab23ed3413aee06c68e7c8ba0108 (patch)
treeb8a0e5423e157a95324b88d6dbe33d6437e4a840
parent7c501359b3c6c5c09a60abc6f3831254e592afb1 (diff)
downloadVeraCrypt-809394d383c4ab23ed3413aee06c68e7c8ba0108.tar.gz
VeraCrypt-809394d383c4ab23ed3413aee06c68e7c8ba0108.zip
Include language xml files in the setup
-rw-r--r--src/Setup/Setup.h78
-rw-r--r--src/Signing/sign.bat4
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"