Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installer asks to install .NET 4.0, while only 3.5 is used in VS2010

I am building an installer for my application, which is entirely built with .NET 3.5 Client Profile. In my installer, I choose ".NET 3.5 Framework SP1 Client Profile" for prerequisites.

However, when I try to install it on a fresh copy of Windows 7 Professional, it wants to install both 3.5 and 4.0. Are there other places where I can / have to set the targeted / required platform?

like image 210
Bart Friederichs Avatar asked Jan 14 '13 14:01

Bart Friederichs


1 Answers

Found it.

It was the installer itself that needed the framework:

LeftMouseButton on the installer project --> View --> Launch Conditions

there is a value Version that needs to be set as well.

like image 72
Bart Friederichs Avatar answered Sep 30 '22 20:09

Bart Friederichs