Wix - How to install multiple windows services with one executable?

前端 未结 4 874
面向向阳花
面向向阳花 2021-02-11 04:02

I\'m trying to install multiple windows services with the same executable, but WiX doesn\'t like the same name attributes in the two file tags. I have tried changing the names o

4条回答
  •  庸人自扰
    2021-02-11 04:51

    A component can belong to more than one feature. Create a single component for your service, then multiple features: each feature has a ComponentRef to the one service component and whatever other references it needs.

提交回复
热议问题