我想在安装过程中检查一些条件,我可以做一些条件,比如:
<Condition Message="Microsoft .Net 4.0 framework with update 4.0.3 or later"><![CDATA[Installed OR NETFRAMEWORK40FULL ]]></Condition>
和类似的更多。我想检查系统是否有:
- 2GB 系统内存 (RAM)
- 100MB 可用本地磁盘空间
- 可用的 USB 2.0 端口
- 浏览器:Microsoft Internet Explorer 8.0 或更高版本、Google Chrome 23.0.1271.97 或更高版本、Mozilla Firefox 18 或更高版本
- Microsoft Windows 安装程序 3.1 或更高版本
有谁知道如何做到上述几点?