如何在单个自定义操作项目中创建多个 C++ 自定义操作? [英] How to create multiple C++ custom actions in single custom action project?

查看:31
本文介绍了如何在单个自定义操作项目中创建多个 C++ 自定义操作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在单个 C++ 自定义操作项目中创建多个 C++ 自定义操作.
我使用的是 WiX 工具集 v3.10 和 Visual Studio 2015.
我想这可能是用 C# 完成的,但我不想将 C# 和 .Net 用于我的自定义操作.
我只想为我的所有自定义操作创建单个 .dll.
这甚至可能吗?如果可能的话,你能给我举个例子吗?
任何帮助,将不胜感激.谢谢!

Is there anyway to make multiple C++ custom actions in single C++ custom action project.
I'm using WiX Toolset v3.10 and Visual Studio 2015.
I guess it may be done with C# but i don't want to use C# and .Net for my custom actions.
I just want to create single .dll for all of my custom actions.
Is this even possible? If possible can you give me an example?
Any help would be appreciated. Thank you!

推荐答案

我会通过这个 WiX 源代码查看编写 C++ 自定义操作的示例.

I would look through this WiX source code for examples on writing C++ custom actions.

https://github.com/wixtoolset/wix3/tree/develop/src

看:wix3/src/ext/ca/wixca/dll/

Look at: wix3 / src / ext / ca / wixca / dll /

这篇关于如何在单个自定义操作项目中创建多个 C++ 自定义操作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆