Modifying setup file with PHP
Posted
by Paul Lammertsma
on Stack Overflow
See other posts from Stack Overflow
or by Paul Lammertsma
Published on 2010-04-13T13:44:09Z
Indexed on
2010/04/13
14:33 UTC
Read the original article
Hit count: 407
I have an application that needs branding when downloaded in certain continents. When installed in North America, for instance, the application, when run, displays a different logo and company name than in Europe.
The setup file is provided through a PHP script. Presently there is a Inno Setup executable for Windows and a DMG for Mac OS X.
I have seen that when downloading Google Chrome, you can specify whether or not it should send usage statistics. A brief look at the JavaScript that controls it reveals that this is simply sent back to the server with &usagestats=0
or &usagestats=1
.
How would I go about influencing the installation based upon settings specified via the PHP download page?
© Stack Overflow or respective owner