I have an .exe installer built successfully, that I need to kick off with a script when someone places an order (in WHMCS) from us.
I need to change the source directory of one included file, and the output destination of the .exe to that same, variable determined subdirectory.
Having trouble figuring out how to do that...
Customer ID '30' would pull in a config file from \installers\30\config.txt and output the installer to \installers\30\installer.exe
Customer ID '31' would pull in a config file from \installers\31\config.txt and output the installer to \installers\31\installer.exe
So I imagine:
Customer ID '%id%' would pull in a config file from \installers\%id%\config.txt and output the installer to \installers\%id%\installer.exe
So I need to change one Included File and Build output locations to a variable-supplied location. Make sense?
Can anyone help? I'm sure it's easy, I'm just not much of a programmer.....
THANKS!
Joe