Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battle City Installer #74

Open
Deceth opened this issue Nov 7, 2013 · 6 comments
Open

Battle City Installer #74

Deceth opened this issue Nov 7, 2013 · 6 comments

Comments

@Deceth
Copy link
Owner

Deceth commented Nov 7, 2013

Hi!

I'm thinking of compiling a new release of Battle City to make available for download.

I haven't done this for a while and even when I last did, I've never done it properly. I don't know how to create a proper installer so there are always problems with missing dependencies, DLL files, etc...

ex: http://battlecity.org/battle-city-winter-classic-server-up-and-freezing/#comments

I have no problem setting up the development environment or compiling the game to run on my own computer. In fact, Riley has created an excellent article that now makes this easy for anybody:

see: https://github.com/Deceth/Battle-City/wiki/How-to-Setup-your-Development-Environment

My issue is when it comes time to distributing the game for download... How do I prepare it properly to maximize compatibility across Windows XP, 7, 8, etc...

Depending on the compiler I am using to create the executable, I need to include the proper Visual C++ Redistributable files for Visual Studio... Thus far, I've always created a ZIP file that includes the required DLL files... but that's not the best approach.

The proper way to do this would be to have an installer that installs Battle City and any required dependencies... Does anybody have experience with this?

@rileyw
Copy link
Contributor

rileyw commented Nov 7, 2013

Deceth, a new release seems like a great idea especially with the holiday season approaching. Players will have free time to play. We can observe documentation at http://msdn.microsoft.com/en-us/library/vstudio/2kt85ked.aspx on creating an installer. I may run through the exercise to see what's involved.

@Deceth
Copy link
Owner Author

Deceth commented Nov 12, 2013

Looks like InstallShield is not available for Visual Studio Express... :(

@rileyw
Copy link
Contributor

rileyw commented Nov 12, 2013

Yikes, I'll look at alternatives that are supported by Visual Studio Express.

@rileyw
Copy link
Contributor

rileyw commented Nov 12, 2013

I'll read through them today.

@Deceth
Copy link
Owner Author

Deceth commented Nov 27, 2013

Another option I've come across is:

http://wixtoolset.org/
http://wixtoolset.org/documentation/manual/v3/howtos/redistributables_and_install_checks/install_vcredist.html

This is free and open source, but I haven't had a chance yet to compare it with NSIS or to read any reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants