Sign in to follow this  
buumchakalaka

Program install and uninstall files in c++

Recommended Posts

Hello,
I just finish my last aplication and now I want to distribute.
First I thinked put all the aplication files in a winrar archive, but I dont realy like the poor appearance of this. So I thinked to use any of the install files creators like SSE Setup, but I have troubles with this too.

So, I am wondering, ¿How can I program my own setup files?
I need a setup.exe that put all aplication files in "Program Files" and create a shortcut in deskopt, and a unistall.exe for do the inverse operation.

I think is posible to do, but I dont know how to start with this.
Thanks in advance!
(And sorry for my bad english :P)

Share this post


Link to post
Share on other sites
Your IDE may have the ability to build an installer for your program. For example, with Visual Studio you can create a Setup/Deployment project. Otherwise you might want to try a different installer program. Some other options are NSIS and WiX.

Share this post


Link to post
Share on other sites
I tend use Visual Studio's deployment projects, as SiCrane suggested. However, be forewarned that Visual Studio 2012 removed this project type. Microsoft has received a lot of [url="http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3041773-bring-back-the-basic-setup-and-deployment-project-?page=2"]backlash[/url] for this decision.

Share this post


Link to post
Share on other sites
I cant use the setup proyects of visual c++ because i'm using Express Edition.
I will try some of this installers, but if someone know how to make an instaler please share the information, im more intrested in this.
Thanks!!

Share this post


Link to post
Share on other sites
I see NSIS has been mentioned aready. I admit it has been long since I last tried NSIS, but I always found Inno Setup more straight forward to use. It's free, and definitely worth a look: http://www.jrsoftware.org/

Share this post


Link to post
Share on other sites

For multiplatform deployment I use Python with Tk. On Linux and Mac python is present by default, on Windows there is a possibility to make one exe file without necessity to require a Python installation.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this