使用 WiX 安装 DirectX(2010 年 6 月)redist 和 .NET 4
如何使用 WiX 安装 DirectX(2010 年 6 月)redist 和 .NET 4?
How to Install DirectX (June 2010) redist and .NET 4 with WiX?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MSI 需要引导程序(又名链接器)来正确支持这一点。 WiX 还没有引导程序。 3.6 版将有一个名为 Burn 的功能,但尚未完成。
您可以使用第三方引导程序,例如 dotNetInstaller 或者您可以保持简单,只需将 DirectX redist 放在媒体或网站,并为您的安装程序或游戏中的类似逻辑编写启动条件,以检测它是否未安装并告诉您的客户安装它。
我已经很多年没有在电脑上玩游戏了,但当我玩游戏时,我通常会在安装任何游戏之前确保我拥有最新的 DirectX / Glide / OpenGL 和视频驱动程序,并且一切都运行正常。
MSI's need bootstrappers ( aka chainers ) to support this properly. WiX doesn't have a bootstrapper yet. Version 3.6 will have one called Burn but it's not done yet.
You could use a third party bootstrapper such as dotNetInstaller or you could keep it simple and just put the DirectX redist on the media or website and write a Launch Condition for your installer or similar logic in your game to detect if it isn't installed and tell your customer to install it.
I haven't done gaming on a PC in years but when I did it was pretty typical for me to make sure that I had the latest DirectX / Glide / OpenGL and video drivers and that everything was running properly before installing any games.