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