Clone
ixen <ixen@copyhandler.com>
committed
on 20 Mar 19
Updated installer script to use common directories instead of user ones. Removed unused variable from jenkins script. (CH-340)
ch-1.40 + 2 more
/jenkins/prepare-portable-package.bat (+0 -2)
1 1 @echo off
2 2
3 3 rem Script prepares the portable CH package after build
4 4 call "%WORKSPACE%\scripts\jenkins\_get-output-dir.bat" || exit /b 1
5 5
6 6 SET TmpDir=%WORKSPACE%\temp\chzip-%BUILD_NUMBER%
7 7
8   SET VSInstallDirX86=C:\Program Files (x86)\Microsoft Visual Studio 14.0
9  
10 8 mkdir "%TmpDir%"
11 9
12 10 rem Prepare 32bit build
13 11 xcopy "%WORKSPACE%\bin\release\ch.exe" "%TmpDir%\32bit\" || exit /B 1
14 12 xcopy "%WORKSPACE%\License.txt" "%TmpDir%\32bit\" || exit /B 1
15 13 xcopy "%WORKSPACE%\bin\release\chext.dll" "%TmpDir%\32bit\" || exit /B 1
16 14 xcopy "%WORKSPACE%\bin\release\regchext.exe" "%TmpDir%\32bit\" || exit /B 1
17 15 xcopy "%WORKSPACE%\bin\release\libchcore32u.dll" "%TmpDir%\32bit\" || exit /B 1
18 16 xcopy "%WORKSPACE%\bin\release\libchengine32u.dll" "%TmpDir%\32bit\" || exit /B 1
19 17 xcopy "%WORKSPACE%\bin\release\libserializer32u.dll" "%TmpDir%\32bit\" || exit /B 1
20 18 xcopy "%WORKSPACE%\bin\release\libstring32u.dll" "%TmpDir%\32bit\" || exit /B 1
21 19 xcopy "%WORKSPACE%\bin\release\liblogger32u.dll" "%TmpDir%\32bit\" || exit /B 1
22 20 xcopy "%WORKSPACE%\bin\release\libictranslate32u.dll" "%TmpDir%\32bit\" || exit /B 1
23 21 xcopy "%WORKSPACE%\bin\release\ictranslate.exe" "%TmpDir%\32bit\" || exit /B 1
24 22 xcopy "%WORKSPACE%\bin\release\sqlite3_32.dll" "%TmpDir%\32bit\" || exit /B 1
25 23 xcopy "%WORKSPACE%\scripts\portable_config\ch.xml" "%TmpDir%\32bit\" || exit /B 1
26 24 xcopy "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.CRT\*" "%TmpDir%\32bit\" || exit /B 1
27 25 xcopy "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.MFC\*" "%TmpDir%\32bit\" || exit /B 1
28 26 xcopy "C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\dbghelp.dll" "%TmpDir%\32bit\" || exit /B 1
29 27 xcopy "C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x86\*" "%TmpDir%\32bit\" || exit /B 1