I have InstallScriptMSI project. I have XML files which needs to be updated with SQLServer name ( selected by user at runtime). So I typed a in Content box of XML element in the Advanced tab. Then I did TextSubSetValue( "", szServerName, TRUE ) in OnBegin event in the installscrtipt.
The xml file created by setup during runtime have instead of actual server name.