For example:

Scenario:

Show message box only during installation and MYPROPERTY has to be equal to "TestValue".

1> Define custom action

<CustomAction Id="POPMSG " Script="vbscript">

<![CDATA[MsgBox("For Custom Action POPMSG.")]]>

</CustomAction>

2> Put this custom action inside <InstallExecuteSequence></InstallExecuteSequence> or <InstallUISequence></InstallUISequence>

<Custom Action="POPMSG" Before="CostInitialize" >

<![CDATA[MYPROPERTY="TestValue" AND NOT Installed]]>

</Custom>

Reference:

http://stackoverflow.com/questions/8239188/wix-show-conditional-message-box-without-cancel

最新文章

  1. @SpringBootApplication
  2. 转:jQuery.data
  3. javascript优化--14模式2(DOM和浏览器模式)
  4. SQL Server基本函数
  5. java中,去除空白的方法
  6. JAVA开发工具eclipse中@author怎么改
  7. Linux 进程与线程一(创建-关闭线程)
  8. UVA 10780 Again Prime? No Time. 分解质因子
  9. [MongoDB] Insert, find -- 1
  10. 单例模式(Singleton)的6种实现
  11. SSL与TLS的区别以及介绍
  12. 1 前言:WPF之What&amp;Why
  13. SpringMVC:学习笔记(1)——理解MVC及快速入门
  14. 【nodejs】nodejs 的linux安装(转)
  15. box-sizing 属性应用
  16. 在LINQ查询中LINQ之Group By的用法
  17. Qt Creator的下载和安装
  18. Linux环境部署SVN服务器
  19. Python——PyQt GUI编程(python programming)
  20. python使用xlrd, xlwt读取excel文件和 写入excel文件

热门文章

  1. CGAffineTransform相关函数
  2. 关于写blog这件事
  3. 如何限制input只能输入数字
  4. nginx,linux压力测试工具webbench
  5. android学习日记16--GridView(网格视图)
  6. el表达式跟ognl表达式的区别(转)
  7. location查询字符串解析
  8. Apache的RewriteRule规则详细介绍
  9. 听说alphago又要挑战sc2了?——我眼中的人工智能
  10. mac mysql error You must reset your password using ALTER USER statement before executing this statement.