lexaloffle
12-16-2005, 02:35 AM
Instead of manually creating a new build for each affiliate, it's better to have a system where affiliates can add the affiliate ID to the download URL. e.g:
http://www.retro64.com/download.asp?file=bugatron&afl=AID
One way to do this is to change the name of the file that is downloaded, and get the installer to record this information so that it can be passed on to the game:
http://forums.indiegamer.com/showthread.php?t=862
Does anyone do something like this for the Mac?
My current plan is to keep the affiliate id in an external text file and generate a new archive, server-side, for each unique affiliate id request. So I would end up with a bunch of files on the server, which are identical except that affiliate.txt contains a different string.
ZenPuzzleGardenDemo_24836.tar.gz
ZenPuzzleGardenDemo_62331.tar.gz
When this cache gets to big, it would just delete all of the files and start again.
This would work fine for me as I don't have very large installers. But it's a bit ugly and not a good long term solution. Any better ideas?
http://www.retro64.com/download.asp?file=bugatron&afl=AID
One way to do this is to change the name of the file that is downloaded, and get the installer to record this information so that it can be passed on to the game:
http://forums.indiegamer.com/showthread.php?t=862
Does anyone do something like this for the Mac?
My current plan is to keep the affiliate id in an external text file and generate a new archive, server-side, for each unique affiliate id request. So I would end up with a bunch of files on the server, which are identical except that affiliate.txt contains a different string.
ZenPuzzleGardenDemo_24836.tar.gz
ZenPuzzleGardenDemo_62331.tar.gz
When this cache gets to big, it would just delete all of the files and start again.
This would work fine for me as I don't have very large installers. But it's a bit ugly and not a good long term solution. Any better ideas?