Jump to content

  • Log In with Google      Sign In   
  • Create Account

How can I create an installer for my game?

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

#1 Magogan   Members   -  Reputation: 203

Like
1Likes
Like

Posted Yesterday, 12:51 PM

Hi,

I would like to send my game to friends for testing. But the problem is that I compiled it with Visual Studio 2013, so the C++ runtime is required for running the game.exe.

I could simply tell them how to install the C++ runtime, but I want them to click on install and simply launch the game when installation is finished. How can I create an installer that does everything needed before running the game, including extracting files, creating an uninstaller, creating a start menu folder etc., installing C++ runtime and the game itself? I have never done this before, I currently just create a zip containing all the files, but that's not the way it should work. I don't know where to start and I don't know good tutorials for this.

Greetings,
Magogan

Sponsor:

#2 djtesh   Members   -  Reputation: 332

Like
3Likes
Like

Posted Yesterday, 12:58 PM

As far as I remember, the Visual Studio Installer project can be configured to include the installation of other components like the runtime library as part of the install. It won't embed the whole thing but rather download and install the latest from Microsoft's servers during the install process.

 

Look it up. If not, there's Inno setup. It is a powerful, script driven system that definitely handles pre-requisite installs.



#3 Aardvajk   Crossbones+   -  Reputation: 6212

Like
6Likes
Like

Posted Yesterday, 12:58 PM

http://sourceforge.net/projects/nsis/



#4 CRYP7IK   Members   -  Reputation: 1021

Like
1Likes
Like

Posted Today, 12:43 AM

nsis is awesome, however if you are going cross platform route:

 

http://www.cmake.org/Wiki/CMake:Packaging_With_CPack

 

Is where it's at (IMO).


To accomplish great things we must first dream, then visualize, then plan...believe... act! - Alfred A. Montapert
Gold Coast Studio Manager, Lead Programmer and IT Admin at Valhalla Studios Bifrost.

#5 cozzie   Members   -  Reputation: 1764

Like
0Likes
Like

Posted Today, 05:26 AM

I'd be interested too if it where a visual studio function. If someone has more on it..

#6 Norman Barrows   Crossbones+   -  Reputation: 2310

Like
0Likes
Like

Posted Today, 07:42 PM

i found inno setup to be an excellent turnkey solution for windows games


Norm Barrows

Rockland Software Productions

"Building PC games since 1989"

rocklandsoftware.net

 

PLAY CAVEMAN NOW!

http://rocklandsoftware.net/beta.php

 

 






PARTNERS