Search code examples
c#installationvsinstaller

VS Installer copy different files per installer compilation


I have a VS installer copying several files. I need to maintain 2 differnt installers 1 with specific files included and the other without. I want to use the same installer project. I thought maybe this can be done - getting the differnt result according to some define parameter how can I do this?


Solution

  • Found a way to do so. using the MSBuild conditional dependencies and then using the output of some project. MS Build conditional referencing