If I run your code, it writes out the same string that you posted. I noticed that you're not getting the macro prior to calling the ExpandMacro method so I tried this:
builder.App.ExpandMacros( "%TF_EXE_PATH%" );
And that worked, so I'm not sure what's wrong with my method but it works so hopefully someone can learn from my issue.
Thanks for the quick response.
|