How to make the installer

Questions or HOWTOs about the above? Post 'em here...
Post Reply
User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

How to make the installer

Post by RPG »

Well, I just sifted through all of my compiling problems, and now I have the most up to date BZFlag running and its great. But what if I want to share it with some friends? Now, after all the compiling troubles, I would like to know how to take the game that I just compiled and make it into a .exe installer file. HOWTO?
User avatar
DTRemenak
General
General
Posts: 625
Joined: Thu Jan 16, 2003 4:54 am
Location: U.S.
Contact:

Post by DTRemenak »

See http://bzbb.bzflag.org/viewtopic.php?t=2185

Basically, create the bzflag\dist folder, download and install NSIS from nsis.sf.net, and use it to compile the .nsi. If lan56 doesn't have the executables being automatically stripped you'll want to strip them first otherwise the installer will be huge.
User avatar
Lan
Private First Class
Private First Class
Posts: 296
Joined: Sun Jun 13, 2004 1:21 am
Contact:

Post by Lan »

Nope, the last time I checked they are being stripped, but in case I ever goof (which should, and usually is, never :) ) there is a file called "strip" in the /bin/ dir of Dev-C++. Use the command line, and enter "--help" or "-h" (I can't remember which works), it is pretty self explanatory and can cut down exe size by a lot.
User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG »

ok thanks
Post Reply