-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbuild_unsign_installer.cmd
36 lines (31 loc) · 1.01 KB
/
build_unsign_installer.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@echo off
set prg_name=MSpeech.exe
set search_prg_name=Search-App-Class-Name\SearchAppClassName.exe
set reciver_prg_name=MSpeech-Reciver-Demo\MSpeech_Reciver_Demo.exe
set installer_prg_name=MSpeech-Setup-1.5.10.exe
if "%ProgramFiles(x86)%"=="" goto DoWin32
set PROGRAMFILES=%ProgramFiles(x86)%
:DoWin32
set NSISPath="%PROGRAMFILES%\NSIS\makensis.exe"
cls
call clear.bat
if exist %prg_name% (
copy /Y langs\*.xml Installer\base\langs\
copy /Y script\*.* Installer\base\script\
copy /Y %prg_name% Installer\base\
copy /Y %reciver_prg_name% Installer\base\
copy /Y %search_prg_name% Installer\base\
copy /Y libeay32.dll Installer\base\
copy /Y libFLAC.dll Installer\base\
copy /Y ssleay32.dll Installer\base\
copy /Y changelog.txt Installer\base\
copy /Y getlicense_en.txt Installer\base\
copy /Y getlicense_ru.txt Installer\base\
copy /Y MSpeech.cf Installer\base\
copy /Y MSpeech.ini Installer\base\
cd Installer\
del /Q /F %installer_prg_name%
%NSISPath% /DINNER setup_x86.nsi
cd ..
)
call clear.bat