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

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
