Anyone know how to use QSetup?


StreamlineData
08-01-2005, 02:24 PM
Anyone know how to use QSetup?
I want to start packaging my maps using it, but I find the program really confusing *with* the help file. So could anyone explain it in layman english?

Thanks in advance!

josh_u[RR]
08-01-2005, 08:48 PM
I don't use that one, but if you are looking for a good installer, try NSIS. haircut turned me on to it, and it freakin' rocks. if you want it super simple I could even send you my config file for it. there are some threads on it over at mardymouse if you want more info.

theozzmancometh
08-01-2005, 09:14 PM
darn, SD, I thought you knew that I used it......

I'm hurt

StreamlineData
08-01-2005, 11:11 PM
Originally posted by theozzmancometh
darn, SD, I thought you knew that I used it......

I'm hurt
Sorry ozz... I remembered that there was someone who knew how... but I just forgot who. So I thought I just ask here.

josh: nsis? mind if you could send me the install? thanks :)

josh_u[RR]
08-01-2005, 11:55 PM
http://nsis.sourceforge.net/download/

I found it pretty easy to use, but if you're having trouble you can use my template file.

http://josh.whatsupslc.com/misc/install_template.NSI

edit it with notepad.

haircut
08-02-2005, 03:02 AM
Not to sure why you use multiple FILE commands in your installer section:


; Set the output path for instalation.
; If Steam is installed then it will be the
; users Steam DoD Folder.
; If Steam isn't installed or not detected
; then it will default to the "Program Files" folder.
SetOutPath "$INSTDIR"
; Add all files to include into the Install program
; This will insure every file and sub-folder is included
; in the install file.
File /r "${NSISDIR}\Examples\maps\dod_aztec\dod\*.*"


That single FILE command does it all. Just make sure you have the folder structure correct.

NSISDIR = Where you installed NSIS.

e.g: "c:\Program Files\NSIS"

Then add a path to where you store the files to add.

e.g: "\Examples\maps\dod_aztec\dod"

Then under the "dod_aztec\dod" folder put all the other folders and files:

dod\maps
dod\overviews
dod\models\mapmodels
dod\sound\ambience

Full folder listings will be:
c:\Program Files\NSIS\Examples\maps\dod_aztec\dod
c:\Program Files\NSIS\Examples\maps\dod_aztec\dod\maps
c:\Program Files\NSIS\Examples\maps\dod_aztec\dod\overviews
c:\Program Files\NSIS\Examples\maps\dod_aztec\dod\models\mapm odels
c:\Program Files\NSIS\Examples\maps\dod_aztec\dod\sound\ambie nce

All files and sub-folders within the "dod" folder (but not including the dod folder) will be included. Any wads and .cfg files in the "dod" folder are included though, just not the "dod" folder itself, I add that with the .oninit function.

My NSIS script and any other custom images go in the dod_aztec folder. I find this easy to manage and when I edit the NSIS script the only thing I need to change is the name of the map, nothing else has to change.

If you just package up one or two maps then it's not really a problem but I do quite a few and this is a quick'ish way to do it. I find it easy to check the content of the installer as well.

I do it this way to keep the map installer away from any Steam and Custom content that might get added or misssed by mistake.

To check the installer content I use the new version of resgen that allows you to mask out any standard content and list just custom content.

Like most others I get my Custom maps from other sources and re-package them. The only map I packaged recently that didn't have a problem was dod_advance, all others, apart from my own maps, had at least one error in them.

josh_u[RR]
08-02-2005, 11:18 AM
thanks haircut, that would be easier. I'll give it a try.

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.