Wix: Show conditional message box
2024-10-16 03:45:40
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
最新文章
- @SpringBootApplication
- 转:jQuery.data
- javascript优化--14模式2(DOM和浏览器模式)
- SQL Server基本函数
- java中,去除空白的方法
- JAVA开发工具eclipse中@author怎么改
- Linux 进程与线程一(创建-关闭线程)
- UVA 10780 Again Prime? No Time. 分解质因子
- [MongoDB] Insert, find -- 1
- 单例模式(Singleton)的6种实现
- SSL与TLS的区别以及介绍
- 1 前言:WPF之What&;Why
- SpringMVC:学习笔记(1)——理解MVC及快速入门
- 【nodejs】nodejs 的linux安装(转)
- box-sizing 属性应用
- 在LINQ查询中LINQ之Group By的用法
- Qt Creator的下载和安装
- Linux环境部署SVN服务器
- Python——PyQt GUI编程(python programming)
- python使用xlrd, xlwt读取excel文件和 写入excel文件
热门文章
- CGAffineTransform相关函数
- 关于写blog这件事
- 如何限制input只能输入数字
- nginx,linux压力测试工具webbench
- android学习日记16--GridView(网格视图)
- el表达式跟ognl表达式的区别(转)
- location查询字符串解析
- Apache的RewriteRule规则详细介绍
- 听说alphago又要挑战sc2了?——我眼中的人工智能
- mac mysql error You must reset your password using ALTER USER statement before executing this statement.