Customising packaged games

Alex
08 May 2010, 14:37
Someone sent me a PM asking about this - the question was, how do I add extra files to my packaged games, such as a readme file?

Since the answer is probably useful to other people, I'll post it here too:

Quest Packager uses software called InnoSetup to create the setup EXE - if you go to the folder created by Packager, you'll see a file called setup.iss in there. Double-click this and InnoSetup will launch, and you can then edit the setup script.

Copy the extra files you need to the package folder, then add a line in the [Files] section of setup.iss like this:


Source: "readme.txt"; DestDir: "{app}"; Flags: ignoreversion


Then you can add the readme file to the Start Menu by adding a line to the [Icons] section like this:


Name: "{group}\Read Me"; Filename: "{app}\readme.txt"


After you've done this, rebuild the script from within InnoSetup by clicking the Build menu, then Compile. This will create a new setup EXE file in the Output folder.

There's more info on InnoSetup here: http://www.jrsoftware.org/isinfo.php

Also, note that if you run Packager again and output to the same folder, it will overwrite your customised setup.iss file. So if you ever want to update the game itself, then instead of re-running Packager, just create a new CAS file using QCompile, copy it to the package folder and recompile setup.iss using InnoSetup.

slackers_inc
10 May 2010, 15:11
Ha ha,

it's cool that you posted this for everyone. Thanks again, it's come in real handy! I can't wait to send you a demo of what we're working on. :)