this Explains how to use Msbuild to zip some log files. the zipfilename is generated from date time information, hence unique.
<
<Import Project="c:\sdc\Microsoft.Sdc.Common.Tasks" />
</
<Target Name="ZipLogs" >
<Time.GetTime Format="yyyyMMMdd-hh-mm" >
<Output TaskParameter="Time" PropertyName="ResultsItem" />
</Time.GetTime>
<Message Text="$(ResultsItem)" ></Message>
<Zip.AddFile
pathToZipFile="$(ResultsItem)$(BuildLogZip)"
pathToFile="Summary1.log" />
pathToFile="Build.Log" />
</Target>