I want to install my C# project (WinForm .NET v2) on windows 7,8,8.1 without the need of installing the .NET .
As i figured out, Windows 7 has .NET v2 by default and Windows 8,8.1 has .NET v4 by default.
So I was thinking of copying my C# project and have them compiled with both .NET v2 and v4. After that, I would make an NSIS setup with both of them using a script that could tell me which version of .NET is installed on destination system. Then just install the specific compiled project without the need of installing any .NET
The idea is theoretically OK but the problem is:
I found "no one" using this solution for their projects. What is wrong with it? Do i miss something?