walterlv / BlogComments

3 stars 0 forks source link

post/getting-started-with-wix-toolset-msi-detect-net-framework #92

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

用 WiX 制作安装包:为 WiX 制作的 msi 安装包添加 .NET Framework 环境检查 - walterlv

用 WiX 制作安装包:为 WiX 制作的 msi 安装包添加 .NET Framework 环境检查

https://blog.walterlv.com/post/getting-started-with-wix-toolset-msi-detect-net-framework.html

nocanstillbb commented 2 years ago

如果是NET4.0需要安装一个KB补丁,支持tuple的新语法 如果大于NET4.0 ,不需要安装这个KB补丁

这种要怎么搞

walterlv commented 2 years ago

@nocanstillbb 目前我也还不会,研究中……

chancezheng commented 1 year ago

可以用类似这样的语法

InstallCondition="VersionNT64 AND NetFramewrok48Info < v4.0"
Suence commented 6 months ago

为什么我改成4.6.2 以上的版本时,生成就会报错呢 *Unresolved reference to symbol 'Property:WIX_IS_NETFRAMEWORK_472_OR_LATER_INSTALLED' in section 'Product:'.**

Suence commented 6 months ago

应该是 3.11 版本不支持,我换成 3.14 就可以了。