-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCreateRedist.cmd
More file actions
25 lines (18 loc) · 925 Bytes
/
CreateRedist.cmd
File metadata and controls
25 lines (18 loc) · 925 Bytes
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
@echo off
rem Copies application, help and ini files to redist folders
@rd /S /Q Redist
@mkdir "Redist\32_Bit"
@mkdir "Redist\64_Bit"
@copy Doc\Handbuch.pdf "Redist\32_Bit"
@copy Doc\Handbuch.pdf "Redist\64_Bit"
@copy Doc\Manual.pdf "Redist\32_Bit"
@copy Doc\Manual.pdf "Redist\64_Bit"
@copy gsbatchprint.ini "Redist\32_Bit"
@copy gsbatchprint.ini "Redist\64_Bit"
@copy x64\gsbatchprint\Release\gsbatchprint.exe "Redist\64_Bit"
@copy x64\gsbatchprintc\Release\gsbatchprintc.exe "Redist\64_Bit"
@copy Win32\gsbatchprint\Release\gsbatchprint.exe "Redist\32_Bit"
@copy Win32\gsbatchprintc\Release\gsbatchprintc.exe "Redist\32_Bit"
rem Compress under Windows 10 if powershell is enabled
@powershell -Command "Compress-Archive -Path Redist\32_Bit\* -DestinationPath Redist\GSBatchPrint32.zip"
@powershell -Command "Compress-Archive -Path Redist\64_Bit\* -DestinationPath Redist\GSBatchPrint64.zip"