forked from Pascal-KOTTE/patchtrending
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
74 lines (48 loc) · 1.58 KB
/
build.bat
File metadata and controls
74 lines (48 loc) · 1.58 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
@echo off
set ans=Altiris.NS
set acm=Altiris.Common
set adb=Altiris.Database
if "%1"=="8.5" goto build-8.5
if "%1"=="8.1" goto build-8.1
if "%1"=="8.0" goto build-8.0
if "%1"=="7.6" goto build-7.6
if "%1"=="7.5" goto build-7.5
if "%1"=="7.1" goto build-7.1
:default build path
:build-8.5
set build=8.5
set gac=C:\Windows\Microsoft.NET\assembly\GAC_MSIL
set csc=@c:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe
set ver1=v4.0_8.5.3073.0__d516cb311cfb6e4f
goto build
:build-8.1
set build=8.1
set gac=C:\Windows\Microsoft.NET\assembly\GAC_MSIL
set csc=@c:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe
set ver1=v4.0_8.1.4528.0__d516cb311cfb6e4f
goto build
:build-8.0
set build=8.0
set gac=C:\Windows\Microsoft.NET\assembly\GAC_MSIL
set csc=@c:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe
set ver1=v4.0_8.0.2298.0__d516cb311cfb6e4f
goto build
:build-7.6
set build=7.6
set gac=C:\Windows\Microsoft.NET\assembly\GAC_MSIL
set csc=@c:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe
set ver1=v4.0_7.6.1383.0__d516cb311cfb6e4f
goto build
:build-7.5
set build=7.5
set gac=C:\Windows\Assembly\GAC_MSIL
set csc=@c:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe
set ver1=7.5.3153.0__d516cb311cfb6e4f
goto build
:build-7.1
set build=7.1
set gac=C:\Windows\Assembly\GAC_MSIL
set csc=@c:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe
set ver1=7.1.8400.0__d516cb311cfb6e4f
:build
cmd /c %csc% /reference:%gac%\%ans%\%ver1%\%ans%.dll /reference:%gac%\%acm%\%ver1%\%acm%.dll /reference:%gac%\%adb%\%ver1%\%adb%.dll /win32icon:band_aid_Protirus.ico /out:PatchTrending-%build%.exe *.cs