views:

186

answers:

2

I've completed my little app with some help here on StackOverflow so now I have to give it to the world!

Is there a simple way to do this? My app is just a little .exe file with a .settings file.

I think users don't have to install anything but I may be mistaken.

Thanks for all the help!

+3  A: 

Well as long as your users have the relevant .net framework that is all you should need.

You could look at wrapping the app in an msi or use ClickOnce. I used to use innoSetup for desktop applications

Edit: in the comments you asked what you have to copy. The answer all your applications dependencies. In your case you've mentioned the exe and the .settings.

You may have other dependencies in other projects, these would need to be installed too that is when you would probably want to consider an installer.

John Nolan
So I just press Control+Shift+B on my VC#Express, let it build, then copy everything in my bin\Release folder to the end-user? In that folder there is the following: CDLauncher.exe (my program), CDLauncher.exe.config and CDLauncher.pdb. What exactly is the last file and should I keep the three together when deploying?
Sergio Tapia
A program database (PDB) file is not needed. it is used for debugging.
John Nolan
You should only need the CDLauncher.exe and if you reference is the .settings file
John Nolan
So to clarify, I just put the CDLauncher.exe (my program), CDLauncher.exe.config into a .zip and that's it, right?
Sergio Tapia
but yes just put the CDLauncher.exe (my program), CDLauncher.exe.config
John Nolan
I would vote for ClickOnce. It generates all the files necessary to deploy your app using the web. And as an added bonus, anytime you publish a new version, if the setting is enabled, the next time someone opens your app it will auto-install the new version.
Jason Miesionczek
(continued) i use it at my job with several internal tools and it works great.
Jason Miesionczek
+2  A: 

Check out ClickOnce deployment.

JP Alioto
ClickOnce is by far the easiest way to publish and auto-update a desktop app.
jrummell