使用 WiX 创建适合屏幕阅读器的安装程序

发布于 2024-09-17 07:05:30 字数 214 浏览 2 评论 0原文

我花了很多时间与 WiX 进行斗争,以制作一个与屏幕阅读器配合良好的安装程序。我希望 Windows 屏幕阅读器以合理且可预测的方式读取标签和控件名称,但我的发现是 WiX 不太擅长生成“听起来”正确的安装程序。

是否有最佳实践或示例来展示应如何构建用 WiX 编写的安装程序才能完全访问。

或者,我可以用什么替换 WiX 来制作这样的 MSI?如果我需要更换 WiX 那么我会的。

I've spent a lot of time fighting with WiX to make an installer that works well with a screen reader. I want the Windows Screen Reader to read the labels and control names out in a sensible and predictable manner, but my findings are that WiX is not very good at producing installers that "sound" right.

Are there best practices or samples that show how an installer, written in WiX, should be structured in order to be fully accessible.

Alternatively, what can I replace WiX with in order to make such an MSI? If I need to replace WiX then I will.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

酒几许 2024-09-24 07:05:30

如果“Windows 屏幕阅读器”指的是“讲述人”,请不要浪费您的时间。我是屏幕阅读器用户,“讲述人”仅足以让您获得足够的语音来安装良好的屏幕阅读器。没有屏幕阅读器用户每天使用它,因此对其进行测试是没有意义的。要使用像样且免费的屏幕阅读器进行测试,请尝试在以下位置找到 NVDA:
http://www.nvda-project.org
如果安装程序是 .msi 文件,我从来没有遇到过问题;实际上,我已从 .exe 安装程序包中提取了 .msi 文件,以便传递无法访问的自定义安装代码。我很幸运地使用 Visual Studio 2005 生成可访问的安装程序,因此如果您的项目是 .net 应用程序,这可能是一个选项。

If by “Windows Screen Reader” you mean Narrator don’t waste your time. I’m a screen reader user and Narrator is only good enough to allow you to get enough speech to install a good screen reader. No screen reader users use it on a daily basis so testing with it is pointless. To test with a decent and free screen reader try NVDA found at
http://www.nvda-project.org
I’ve never had issues with installers if they were .msi files; I’ve actually extracted .msi files out of .exe installer packages in order to get passed the custom install code that was not accessible. I had good luck using Visual Studio 2005 to generate accessible installer programs so if your project is a .net app this could be an option.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文