需要在 MS Help 2.0 中注册帮助的 WIX 脚本的工作示例
有人可以举一个 WIX 脚本的示例来在 Visual Studio 帮助中注册自定义帮助吗?我搜索了一些教程,但我发现的唯一的就是 VS 架构参考。我尝试做的一切都没有成功。我用的是WIX 3.0。
Can anybody give an example of WIX script to register custom help in visual studio help? I,ve searched for some tutorial, but the only thing that I found was VS schema reference. Everything I tried to do did not work. I use WIX 3.0.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我希望这个答案还不算太晚。
您将需要:
您要做的第一件事是创建将保存您的帮助集合的 Wix 代码。
接下来,您要复制 MSHelp2_RegTables_RTL_-------.msm 合并模块。 (可以在 C:\Program Files\Microsoft Visual Studio 2008 SDK\HelpIntegrationWizard\MSHelp2 中找到)并使用 Orca 打开它。
此处您要编辑合并模块中的 HelpNamespace 表。您将要使用以下信息填充记录:
现在您要编辑 HelpFile 表:
接下来您要编辑 HelpFileToNamespace 表:
最后,您想要编辑 HelpPlugin 表:
您现在可以保存 MSHelp2_RegTables_RTL__--------.msm 合并模块的副本。将其重命名为 MyHelpCollection.msm 之类的名称可能是个好主意。
现在,除了您所针对的 VS 版本的 VSIP 合并模块之外,您只需在 wix 项目中包含此合并模块:
改编自 MSDN 演练
I hope this answer is not too late.
You're going to need:
First thing you want to do is create the Wix code that will hold your help collection.
Next, you want to make a copy of the MSHelp2_RegTables_RTL_---_---.msm merge module. (It can be found at C:\Program Files\Microsoft Visual Studio 2008 SDK\HelpIntegrationWizard\MSHelp2) and open it with Orca.
Here you want to edit the HelpNamespace table in the merge module. You're going to want to fill a record with the following information:
Now you want to edit the HelpFile table:
Next you want to edit the HelpFileToNamespace table:
Finally, you want to edit the HelpPlugin table:
You can now save your copy of the MSHelp2_RegTables_RTL_---_---.msm merge module. It's probably a good idea to rename it to something like MyHelpCollection.msm.
Now you just have to include this merge module in your wix project, in addition to the VSIP merge module for the version of VS you're targeting:
Adapted from MSDN Walkthrough