How to pass dynamic variables to my .EXE?

106 Views Asked by At

I am creating an .exe with NSIS and am trying to figure out how to pass variables into the .exe from the download link.

For example I would have 1 .exe on www.mysite.com/download.php but if they downloaded it from www.mysite.com/download.php?name=jimmy that variable "jimmy" would be able to be read and used inside the NSIS .exe

1

There are 1 best solutions below

0
On

You can append any data you want to the end of the .exe without corrupting it and then read this data in the installer...