zoukankan      html  css  js  c++  java
  • 项目打包小用[原]

     1@echo off
     2echo    Starting Make BOM update package
     3echo -----------------------------------------------------
     4echo 1. Create temp directory: temp
     5rd //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 -//D
    40winrar a --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 
  • 相关阅读:
    Linux之Shell编程read读取控制台输入
    Linux之Shell编程while循环基本使用
    Linux之Shell编程for循环基本使用
    Linux之Shell编程case语句
    C语言 ##__VA_ARGS__
    C语言 __VA_ARGS__
    C语言 ##运算符
    C语言 __cplusplus
    C语言 #运算符
    C语言 extern “C”
  • 原文地址:https://www.cnblogs.com/winnxm/p/1150636.html
Copyright © 2011-2022 走看看