Given a string, substitute all virtual text out of the string and return the substituted string.
The substituted string.
-virtualtext <virtual text string> (required)
The virtual text string to be substituted.
If you had your application name as "My Application" and Version as "1.0", you could do:
::InstallAPI::SubstVirtualText -virtualtext "<%AppName%> <%Version%>"
which would return: "My Application 1.0"