File: create_installers.bat

package info (click to toggle)
kchmviewer 7.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, buster, sid
  • size: 1,784 kB
  • sloc: cpp: 7,973; sh: 145; makefile: 4
file content (26 lines) | stat: -rw-r--r-- 824 bytes parent folder | download
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
:: This bat file is used when building on Windows to create installers
set NSIS="C:\Program Files (x86)\NSIS\makensis"

mkdir build
copy ..\release\x64\kchmviewer.exe build
xcopy C:\Users\Test\Documents\redist-kchmviewer\x64 build /S /I
copy installer64.nsis build\installer.nsis
copy kchmviewer.exe.manifest build
copy license.txt build
cd build
%NSIS% installer.nsis || exit
copy InstallKchmViewer.exe ..\..\InstallKchmViewer-64bit.exe || exit
cd ..
rd /s /q build

mkdir build
copy ..\release\x86\kchmviewer.exe build
xcopy C:\Users\Test\Documents\redist-kchmviewer\x86 build /S /I
copy installer.nsis build
copy kchmviewer.exe.manifest build
copy license.txt build
cd build
%NSIS% installer.nsis || exit
copy InstallKchmViewer.exe ..\..\InstallKchmViewer-32bit.exe || exit
cd ..
rd /s /q build