In general, the php script should do something like this:
file_get_contents('nsis_setup.exe');
if ($param=="attach"){
file_get_contents('some_data');
echo 'ATTACHED'; //attach tag
echo filesize('nsis_setup.exe'); //attach offset
} and the installer itselfs should check if the tag + offset is avaiable.if so, it should extract the attached file.
any ideas/suggestions how to do that? is that possible with the nsis installer?
i try to modify the installer of an engine, that it can be customized to attach an game and an game-map to the installer.