Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Program install and uninstall files in c++

4: Adsense

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   

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)

#2 SiCrane   Moderators   

11765
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   

1674
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   

1161
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   

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 Memories are Better   Prime Members   

769
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   

1358
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   

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   

359
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   

354
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.