Changes
→Microsoft .NET Framework 3.5 SP1
=Microsoft .NET Framework 3.5 SP1=
Download from http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7 (choose/change your language and scroll down to "To download the full package, rather than the bootstrapper, click on the link below: .NET Framework 3.5 Service Pack 1 (Full Package)".
The "or" file check will skip the installation and mark the software as "installed" on hosts that has 3.5 preinstalled (e.g. Windows 7)
<source lang="xml">
<package id="dotnet35" name="Microsoft .NET Framework 3.5 SP1" revision="1" priority="900" >
<check type='logical' condition='or'>
<check type="uninstall" condition="exists" path="Microsoft .NET Framework 3.5 SP1" />
<check type='file' condition='exists' path='%SYSTEMROOT%\Microsoft.NET\Framework\v3.5\MSBuild.exe' />
</check>
<install cmd='%SOFTWARE%\updates\common\dotnetfx35.exe /q /norestart' >
<exit code="194" reboot="true" />