-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathPost-Build.cmd
40 lines (29 loc) · 882 Bytes
/
Post-Build.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
37
38
39
40
@ECHO Off
::
:: Invoke packaging and positioning
::
Echo :: %DATE% %TIME%
Echo :: Output Directory : %1
Echo :: Platform Target : %2
Echo :: Configuration : %3
Echo :: .%~2%~3.
Echo :: Copying Dependencies into the Target Directory %1
if .%~2%~3. == .x86Release. Goto %~2%~3
if .%~2%~3. == .x64Release. Goto %~2%~3
if .%~2%~3. == .x86Debug. Goto %~2%~3
if .%~2%~3. == .x64Debug. Goto %~2%~3
Echo :: INVALID CONFIGURATION SPECIFIED
Goto NormalExit
:x86Release
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" /Q "x86Release.iss"
Goto NormalExit
:x86Debug
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" /Q "x86Debug.iss"
Goto NormalExit
:x64Release
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" /Q "x64Release.iss"
Goto NormalExit
:x64Debug
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" /Q "x64Debug.iss"
Goto NormalExit
:NormalExit