Try by changing the Launch Conditions Profile. You need to change the framework launch condition version to .Net Framework instead of the Framework Client Profile.
Or else you can choose the Framework Client Profile as a prerequisite (which is the default) instead of the .Net Framework.
1) Select the installer project
2) Click on binoculars the icon on top - it will load the Launch Conditions Profile.
After that follow the steps here
] for more details on how to change the launch profile.