CErrorReportSender::CollectFilesBySearchTemplate() file_list.push_back(fi) line should be moved to after CollectSingleFile(&fi) otherwise it continues to zip the file from the original source path instead of the copied file.
...
if((ffd.dwFileAttributes&FILE_ATTRIBUTE_DIRECTORY)==0)
{
CString sFile = sDir + _T("\\");
sFile += ffd.cFileName;
// Add file to file list.
ERIFileItem fi;
fi.m_sSrcFile = sFile;
fi.m_sDestFile = ffd.cFileName;
fi.m_sDesc = pfi->m_sDesc;
fi.m_bMakeCopy = pfi->m_bMakeCopy;
fi.m_bAllowDelete = pfi->m_bAllowDelete;
CollectSingleFile(&fi);
// Kaneva - Bug Fix - Moved After CollectSingleFile()
file_list.push_back(fi);
nFileCount++;
}
...