zoukankan      html  css  js  c++  java
  • installshield 2009实现安装包自动编译

    1.根据当前日期,在服务器上建立一个以日期命名的文件夹,删除本地现有的文件夹并下载最新的文件到本地
    call mydate %DATE%
    Rem Copy files from common folder on the designer to the common folder on my computer
    rd "F:\MySourceFile\MMS2.0\program\DSStore\x86" /s/q
    pause
    xcopy "[url=file://\\155.100.40.73\output\DSStore\x86]\\155.100.40.73\output\DSStore\x86[/url]" "F:\MySourceFile\MMS2.0\program\DSStore\x86\" /E/Y


    2.利用IS2009命令行实现不打开IDE,用命令行自动编译
    call mydate %DATE%

    rem ===============================================
    rem Set up tools.
    rem ===============================================
    set COMPILER=c:\Program Files\InstallShield\2009\System\Compile.exe
    set BUILDER=c:\Program Files\InstallShield\2009\System\IsCmdBld.exe
    rem ===============================================
    rem Set the environment for the compiler
    rem ===============================================
    set INSTALLPROJECT=F:\My Installations\IS2009\DSStore\DSStore.ism
    set CURRENTBUILD=DSStore.ism
    set INCLUDESQLRT=C:\Program Files\InstallShield\2009\Script\SQLRuntime\Include
    set INCLUDEIIS=C:\Program Files\InstallShield\2009\script\IISRuntime\Include
    set INCLUDEXML=C:\Program Files\InstallShield\2009\script\XMLRuntime\Include
    set INCLUDEIFX=c:\Program Files\InstallShield\2009\Script\Ifx\Include
    set INCLUDEISRT=c:\Program Files\InstallShield\2009\Script\Isrt\Include
    set INCLUDESCRIPT=F:\My Installations\IS2009\DSStore\DSStore\Script Files
    set LINKPATHS=-LibPath"c:\Program Files\InstallShield\2009\Script\Ifx\Lib" -LibPath"c:\Program Files\InstallShield\2009\Script\Isrt\Lib" -LibPath"C:\Program Files\InstallShield\2009\Script\SQLRuntime\Lib"
    set RULFILES=F:\My Installations\IS2009\DSStore\DSStore\Script Files\setup.rul

    set LIBRARIES="isrt.obl" "ifx.obl" "SQLRT.obl"
    set DEFINITIONS=
    set SWITCHES=-w50 -e50 -v3

    rem ==================================================
    rem Compile
    rem ==================================================
    IsCmdBld.exe -p "%INSTALLPROJECT%" -r "DSStore"
    if ERRORLEVEL 1 goto InstallShieldCompileError

    @echo Build successfully!


    3.拷贝最新文件到服务器上
    xcopy "F:\My Installations\IS2009\DSStore\DSStore\Media\DSStore\Disk Images\Disk1" "[url=file://\\Pdm\Software_InstallationCDs\Motic]\\Pdm\Software_InstallationCDs\Motic[/url] VM V1\DSStore\Test\%DATE%\DSStore\" /E/Y

    @echo Copy files from disk1 to the pdm  successfully!

     

    版权声明:转载请注明原始出处。 

  • 相关阅读:
    sql注入-原理&防御
    vulnhub靶场之AI-WEB1.0渗透记录
    python -m http.server 搭建一个简易web下载服务器
    渗透测试工具-sqlmap
    OSI七层模型
    LAXCUS大数据操作系统3.03版本发布,欢迎使用试用
    松耦合和紧耦合的架构设计、性能对比
    Laxcus大数据操作系统2.0(5)- 第二章 数据组织
    从AlphaGo谈通用型人工智能设计
    基于深度推理、自编程、大数据的通用人工智能
  • 原文地址:https://www.cnblogs.com/sabrinahuang/p/1932045.html
Copyright © 2011-2022 走看看