I can't confirm this but any setup project I ever worked with recently
does that "automatically" based on the project type you're providing
it when the project is created (in this case a .NET project so it
knows to put it on the target machine only if the framework isn't present).
That's one of the things set projects do for you.
I'm assuming that you're not creating you setup/install "manually"
using MSI but creating a setup project within .NET.
[quoted text, click to view] "Landley" wrote:
> Hello All,
>
> How can create a setup package that detects whether the framework is
> installed and installs it if not present?
>
> Landley
>
>