Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用单个 setup.msi 将 Windows 服务与另一个桌面应用程序一起安装。可能吗
是的,在安装项目中,右键单击项目并选择Add/Project Ouput选择您的 Windows 服务项目。然后转到Custom Action Editor,对于每个操作,右键单击它并选择Add Custom Action,将显示一个弹出窗口,在其中选择 Windows 服务输出。对所有自定义操作执行此操作,您就完成了。
Add/Project Ouput
Custom Action Editor
Add Custom Action