Click here to Skip to main content
15,884,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to develop an installer and a program(.exe) independent of windows version and .net framework. Which language should I prefer?

I am trying to build a program, which is ready to run on all available windows version with default framework or available with windows installation. if not 100 % compatibility, best possible?

Best part that I need to create a single executable as installer and then this installer will download required files and program from pre-defined URL after checking certain variable from local system. So I need this installer to be compatible for all available Windows OS version in market .

Thanks in advance.
:)

What I have tried:

I have completed project work on C# where i am facing a lot of dependency over .net framework corresponding to Win OS version.
Posted
Updated 16-Sep-16 8:57am
v3
Comments
Suvendu Shekhar Giri 16-Sep-16 13:08pm    
that's possible with .net framework too. you need to target lower version of framework to avoid issues.
what the project is all about?
what are the issues u r facing?
tell us.. we'll try to help
[no name] 16-Sep-16 13:26pm    
ASM is Windows and .NET independent.
Sanjeev236 16-Sep-16 14:25pm    
Lower version thing didn't work for me. as .Net 2.0 framwork is not avialble in windows 10. same problem with 3.5 or 4.0 version. each one needs to either activate or download in different versions. 4.0 doesn't comes with Win 7.

for further info about default .net framework version :
"https://blogs.msdn.microsoft.com/astebner/2007/03/14/mailbag-what-version-of-the-net-framework-is-included-in-what-version-of-the-os/"

1 solution

Get used to it. Everything is going to have some kind of runtime you have to install to get it to work. Be it the C#, VB.NET, C/C++, ... except for Assembler. Good luck learning that one.

Your problem is that you're targeting Windows XP, which hasn't been supported for years now. Newer stuff isn't going to work on it.
 
Share this answer
 
Comments
Sanjeev236 16-Sep-16 14:50pm    
Dave, I am not trying to target xp but i am trying to build a program, which is ready to run on all available windows version with default framework or available with windows installation. if not 100 % compatibility, what language or .net version can bring the best? And Best part that I need to create a single executable as installer and then this installer will download required files and program from pre-defined URL after checking variable from local system. So I need this installer to be compatible for all available Windows OS version in market.
Dave Kreskowiak 16-Sep-16 14:56pm    
Like I said, there's isn't one.

C/C++ is probably going to be the most widely available is terms of pre-installed runtimes, but you also have the problem of which version you use. Not every version of the C/C++ runtimes are installed on every version of Windows.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900