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 
  • 相关阅读:
    子类继承和调用父类的构造方法 (转)
    数组复制 System.arraycopy 与 Arrays.copyof()
    ArrayList的使用方法 (转)
    Eclipse 的debug 用法 (转)
    for each
    二维数组 排序 随机数 练习
    react 之 reflux 填坑
    react & vue 项目创建的方式
    数组实例的 copyWithin()
    es6的正则扩展笔记之修饰符
  • 原文地址:https://www.cnblogs.com/winnxm/p/1150636.html
Copyright © 2011-2022 走看看