The proper way to do this is to define the variable in your script, and then specify it from the command line again. Variables that have been defined on the command line will be locked for the duration of script execution - no script commands will be able to overwrite them, so this mechanism works well.
That said, I just gave this a test run, and it doesn't seem to be working as designed. I'll have to escalate this as well to the product team, seems like something is going wrong here, or maybe something simple we're missing out.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Apparently, this is as designed. For command line variable specifications to permanently override script commands, the setup must be running in silent mode. If setup is not silent, the script can overwrite values specified on the command line.
The workaround therefore for non-silent setups is to parse the command line. The Parse String function problem has been resolved to help with this. Thank you for reporting. An update will be made available soon.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/