-
Notifications
You must be signed in to change notification settings - Fork 0
/
make.bat
27 lines (24 loc) · 1.07 KB
/
make.bat
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
@REM ==================
@REM Compile C# sources
@REM ==================
msbuild /p:Configuration=Release /t:Rebuild
@REM ==================
@REM Build an installer
@REM ==================
iscc.exe /Odest TypicalReplyOutlook.iss
@REM ==================================
@REM Create package with default config
@REM ==================================
powershell -C ^
"$version=(Get-ItemProperty bin\release\TypicalReply.dll).VersionInfo.FileVersion; ^
Remove-Item -Recurse dest\TypicalReplyOutlook-${version}-with-Default-Config; ^
mkdir dest\TypicalReplyOutlook-${version}-with-Default-Config; ^
Copy-Item -Recurse -Path dest\TypicalReplySetup-${version}.exe, DefaultConfig dest\TypicalReplyOutlook-${version}-with-Default-Config;^
Compress-Archive ^
-Path dest\TypicalReplyOutlook-${version}-with-Default-Config ^
-DestinationPath dest\TypicalReplyOutlook-${version}-with-Default-Config.zip ^
-Force"
@REM ==================
@REM Compress templates
@REM ==================
powershell -C "Compress-Archive -DestinationPath dest\TypicalReplyADMX.zip policy"