I would like to harvest a folder with a lot of files by using heat.exe. But instead of harvesting all files, I would like to exclude specific file extensions like \"*.txt\"
I think the only option for now is to harvest the entire folder and apply a transform to the resulting .wxs file (see -t:
switch) to exclude what is not required (txt files in your case). However, I didn't try the 3.5 version of heat (judging based on the 3.0), but I don't think there are changes in this area.