We help IT Professionals succeed at work.

C# How to create a single .exe without having to install my c# application

Karl66
Karl66 asked
on
467 Views
Last Modified: 2010-04-15
The only way I found to distribute my small c# apps is to put them on cd and then people run the installer which of course creates a Start > Programs entry and creates a folder with several files in it somewhere on my c: drive. IS there a way to make a single .exe and not have to have people install the program?

Thanks,
Karl66
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2008
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Is it because C# is interpeted at run time and C++ is precompiled that I cannot do an exe for any Windows PC in C#? That is what it sounds like.

Commented:
You can do straight EXE copying regardless whether you coding with C# or C++. The catch is the program --Dependency--

if your app use any non-standard stuffs, which is not included by default or come with the OS, that's where you need the setup to properly setup those thing.
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2008
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.