Search code examples
c#visual-studio-2008setup-project

How to copy specific files from setup project?


I created installer with setup project in visual studio 2008.

I added 2 folders (win32 & win64) with files to setup project. I want the files from win32 or win64 be placed to specific directory inside Application folder depending on CPU architecture. By default both folders are placed into Application folder, but what I should do so only the files from specific folder will be copied?


Solution

  • Seems like you can simply enter the property name VersionNT64 as the Condition for including the file you want for 64 bit. I would guess you can use Not for the opposite.

    As per MSDN.