1
@echo off
2
echo Starting Make BOM update package
3
echo -----------------------------------------------------
4
echo 1. Create temp directory: temp
5
rd /S /Q temp
6
7
md temp
8
md temp\config
9
md temp\dll
10
md temp\Resources
11
12
echo 2. Copy files
13
14
copy config\AmountButtonInfo.xml temp\config\AmountButtonInfo.xml
15
copy config\MessageDef.cfg.xml temp\config\MessageDef.cfg.xml
16
copy config\NSICUState.xml temp\config\NSICUState.xml
17
copy config\Template.xml temp\config\Template.xml
18
copy config\UIFunctions.xml temp\config\UIFunctions.xml
19
copy config\YktServerReturnCode.xml temp\config\YktServerReturnCode.xml
20
copy config\TicketInfo.xml temp\config\TicketInfo.xml
21
copy config\SysMaintenanceUI.xml temp\config\SysMaintenanceUI.xml
22
copy config\MessageChiToEng.xml temp\config\MessageChiToEng.xml
23
24
25
copy dll\*.dll temp\dll\
26
27
copy *.dll temp\
28
copy *.pdb temp\
29
copy *.bpl temp\
30
31
copy NewUI.exe temp\
32
copy NewUI.exe.manifest temp\
33
copy NewUI.exe.config temp\
34
35
echo 3. Create Self Extract File (RAR)
36
37
cd temp
38
39
attrib -R /S /D
40
winrar a -r -sfx BOMEXE
41
42
echo 4. Prepare SFX Comments
43
44
echo Silent=1 > sfx.txt
45
echo Overwrite=1 >> sfx.txt
46
rem echo Path=.\ >> sfx.txt
47
48
echo 5. Add SFX Comments
49
50
winrar c -zsfx.txt BOMEXE.exe
51
52
copy BOMEXE.exe ..\
53
54
echo 6. Update package completed!!
55
56
echo on
57
pause
@echo off2
echo Starting Make BOM update package
3
echo -----------------------------------------------------4
echo 1. Create temp directory: temp5
rd /S /Q temp 6

7
md temp 8
md temp\config 9
md temp\dll10
md temp\Resources11

12
echo 2. Copy files
13

14
copy config\AmountButtonInfo.xml temp\config\AmountButtonInfo.xml15
copy config\MessageDef.cfg.xml temp\config\MessageDef.cfg.xml16
copy config\NSICUState.xml temp\config\NSICUState.xml17
copy config\Template.xml temp\config\Template.xml18
copy config\UIFunctions.xml temp\config\UIFunctions.xml19
copy config\YktServerReturnCode.xml temp\config\YktServerReturnCode.xml20
copy config\TicketInfo.xml temp\config\TicketInfo.xml21
copy config\SysMaintenanceUI.xml temp\config\SysMaintenanceUI.xml22
copy config\MessageChiToEng.xml temp\config\MessageChiToEng.xml23

24

25
copy dll\*.dll temp\dll\26

27
copy *.dll temp\28
copy *.pdb temp\29
copy *.bpl temp\30

31
copy NewUI.exe temp\32
copy NewUI.exe.manifest temp\33
copy NewUI.exe.config temp\34

35
echo 3. Create Self Extract File (RAR)
36

37
cd temp 38

39
attrib -R /S /D40
winrar a -r -sfx BOMEXE41

42
echo 4. Prepare SFX Comments
43

44
echo Silent=1 > sfx.txt45
echo Overwrite=1 >> sfx.txt46
rem echo Path=.\ >> sfx.txt47

48
echo 5. Add SFX Comments
49

50
winrar c -zsfx.txt BOMEXE.exe 51

52
copy BOMEXE.exe ..\53

54
echo 6. Update package completed!!55

56
echo on 57
pause