Jump to content

  • Log In with Google      Sign In   
  • Create Account


Program install and uninstall files in c++


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
9 replies to this topic

#1 buumchakalaka   Members   -  Reputation: 268

Like
0Likes
Like

Posted 26 November 2012 - 02:16 PM

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)

Sponsor:

#2 SiCrane   Moderators   -  Reputation: 9124

Like
0Likes
Like

Posted 26 November 2012 - 02:29 PM

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.

#3 Shannon Barber   Moderators   -  Reputation: 1373

Like
3Likes
Like

Posted 29 November 2012 - 11:39 PM

The NullSoft installer is another option.
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

#4 shuma-gorath   Members   -  Reputation: 815

Like
0Likes
Like

Posted 30 November 2012 - 10:56 AM

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 backlash for this decision.

#5 buumchakalaka   Members   -  Reputation: 268

Like
0Likes
Like

Posted 30 November 2012 - 12:41 PM

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!!

#6 Strix_Overflow   Prime Members   -  Reputation: 760

Like
1Likes
Like

Posted 30 November 2012 - 03:36 PM

Unless you really want to program an installer yourself, theres always alternatives such as http://www.advancedinstaller.com/ which is really good

#7 wack   Members   -  Reputation: 1096

Like
3Likes
Like

Posted 01 December 2012 - 08:28 AM

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/

#8 buumchakalaka   Members   -  Reputation: 268

Like
0Likes
Like

Posted 30 December 2012 - 04:06 PM

Thanks for the answers. 

Anyway, if someone knows how to write a setup, Im really interested in this. 



#9 NewDisplayName   Members   -  Reputation: 351

Like
0Likes
Like

Posted 31 December 2012 - 02:29 AM

Just use WiX. It's very easy and also very well documented.



#10 Misery   Members   -  Reputation: 247

Like
0Likes
Like

Posted 31 December 2012 - 02:35 AM

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.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS