zoukankan      html  css  js  c++  java
  • InstallShield 2012 Spring新功能试用(13): Suite/Advanced UI 和 Advanced UI 工程支持InstallScript安装程序(Part 2)

    继续上一篇,Suite/Advanced UI 和 Advanced UI 工程支持InstallScript安装程序,同时在InstallScript工程增加了针对Suite/Advanced UI 和 Advanced UI 工程的事件响应函数。

    通过Setup.exe启动(并不是由Suite/Advanced UI 或Advanced UI安装程序启动)标准的InstallScript安装程序,大部分的事件响应函数是通过事件响应函数OnShowUI直接调用的。在Suite/Advanced UI 或Advanced UI安装程序中启动InstallScript安装包,OnShowUI将被OnSuiteShowUI所取代,见下图。


    依据安装包的运行模式(初次安装,维护模式或是升级),OnSuiteShowUI忽略类型OnFirstUIBefore,OnFirstUIAfter等类型的用户操作界面事件响应函数,取而代之的是调用下面的事件响应函数:

    • 初次安装 – OnSuiteInstallBefore,OnSuiteInstallAfter
    • 维护模式 – OnSuiteMaintBefore,OnSuiteMaintAfter
    • 升级 – OnSuiteUpdateBefore,OnSuiteUpdateAfter

    InstallScript脚本语言还增加了一些用于InstallScript安装包和Suite/Advanced UI 或Advanced UI安装程序间进行数据交互的函数。比如,InstallScript脚本语言新增加的函数允许我们将InstallScript安装包的Log信息记入到Suite/Advanced UI 和Advanced UI安装程序的Log中,设置和读取Suite/Advanced UI 和Advanced UI的属性,从Suite/Advanced UI 和Advanced UI安装程序传参数到InstallScript安装包中等。

    为了识别InstallScript安装程序是否被Suite/Advanced UI或Advanced UI安装程序作为InstallScript安装包所调用,InstallScript脚本代码中特增加了一个新的变量SUITE_HOSTED。

  • 相关阅读:
    处理安卓9patch(.9.png)图片
    block 方法参数中带有block 如何生成 如何使用
    hash_hmac
    日期(NSDate)是NSString类的格式(stringWithFormat)
    UITableView刷新单个cell或者单个Section
    iOS enum 定义与使用
    拼接url地址
    demo效果
    好东西
    关于ios7 navigationController中view的frame以及坐标点
  • 原文地址:https://www.cnblogs.com/wanbinghong/p/2517708.html
Copyright © 2011-2022 走看看