开发者

How to Avoid execution of associated executable in C# setup project during installation

I have a C# setup project which is associated with another C# pr开发者_如何学Coject. The 'custom action' includes the primary output of the associated project. When I install this setup, during installation the associated project is executed twice (during uninstall the exe gets executed once). I am guessing that it could be due to some property setting. Thanks in advance.


Figured out the problem. I had added the primary output of associated project as custom action. It is sufficient to add the primary output of associated project to 'File System' (primary output of associated project shall be copied to TARGETDIR during installation). If the associated project has custom action then its primary output should be added to 'Custom action'. {twice during installation: Install and rollback. once during uninstall: uninstall}.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜