Click here to Skip to main content
15,909,325 members
Please Sign up or sign in to vote.
1.80/5 (4 votes)
See more:
I have developed a Windows application in Visual Studio 2008 with C# which uses a SQL Server2005 database. Now I want to deploy and make an exe for this application for those machines which has not any .net framework and SQL Server installed....

Please help me!
Posted
Updated 3-Oct-12 4:06am
v3
Comments
Achha Insan 3-Oct-12 5:31am    
nothing is impossible. you can do it.
satz_770 3-Oct-12 5:59am    
There are a several different tools out there, a couple I have tried are:

XenoCode Postbuild (now Spoon Studio)
Salamander .NET Linker

You can find more by doing a search for ".NET Linker."

The two above, which I tried, seemed to work ok, but I never widely tested my code built with them. I tried them mostly out of curiosity.

My .NET apps are mostly used by IT departments. Installing the .NET framework is no big deal for them.

If you want to write software more targeted at end users then the .NET install may turn them off.
---Answer from Dana Holt---

Refer this :
http://stackoverflow.com/questions/953146/running-net-based-application-without-net-framework
Tejas Vaishnav 3-Oct-12 6:47am    
you can provide per-requisites for .Net framework as well as sqlserver express edition to run you application on client PC.
so setup will automatically prompt user to install it over internet or you can also provide it inbuilt of you setup.
OriginalGriff 3-Oct-12 9:47am    
Don't "Bump" your question - if you have info to add, then do so. Just bumping is rude, and will not help you get an answer - in fact it can reduce the chances if it annoys people enough.

1 solution

If your application has prerequisites in order to function, then your installer has to do one of two things. It must either provide the user information so that they can get the prerequisites installed, or the more preferred route which would be to include them in your installer as Tejas Vaishnav has suggested above. Of course you cannot simply install your application in any way that it will work if the end user doesn't install the prerequisites.
 
Share this answer
 

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