Click here to Skip to main content
13,453,767 members (43,898 online)
Rate this:
Please Sign up or sign in to vote.
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 2-Oct-12 23:02pm
Updated 3-Oct-12 4:06am
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 :
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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02-2016 | 2.8.180318.3 | Last Updated 3 Oct 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100