I am deploying a .NET application with .NET Framework 3.5 client as prerequisites.

When the setup.exe runs in a machine with the prerequisites satisfied installed the bootstrapper install them again.

**Is this a known issue? and what's the correct way to solve it?
**

I've tried adding this lines to the Bootstrapper Package, but it didn't change anything.

<!-- This indicates .NET Framework Full is already installed -->
<BypassIf Property="DotNet35SP" Compare="ValueGreaterThanOrEqualTo" Value="1"/>

<!-- This indicates .NET Framework Full is already installed -->
<BypassIf Property="DotNet40Full_TargetVersion" Compare="VersionGreaterThanOrEqualTo" Value="4.0.30129"/>

<!-- This indicates .NET Framework is already installed -->
<BypassIf Property="DotNet40Client_TargetVersion" Compare="VersionGreaterThanOrEqualTo" Value="4.0.30129"/>