I have created a setup project in VS2008. My WinForms app uses .NET 2.0, so I chose .NET 2.0 Prerequisity and built the setup project.
When I run my Setup.msi on a clean PC, it correctly detects that the .NET is missing and asks if it should be installed. After a successful installation of the .NET, the installer simply exits and doesn't continue with installation of my app (I think it should).
When I run the MSI file on a PC with .NET already installed, my app installs correctly.
Is there any way how to install .NET 2.0 and my app together in one step?