PDA

View Full Version : What is _SourceFolder?


rkligman
10-19-2005, 11:29 AM
Using the Wizard to Unzip a file there is a line that says:

-- Where do you want to extract the files to?
g_ZipExtractDest = _SourceFolder;

Now I know what %SourceFolder% is. TU automatically sets this. But I see noplace where _SourceFolder gets set and I can only assume that %SourceFolder% and _SourceFolder are interchangeable.

So how does _SourceFolder get set?

rkligman
10-19-2005, 11:31 AM
Nevermind, I just found it. It's not a Session Variable but a Global Variable. I'll leave this post up since somebody else may encounter the same issue.

Adam
10-19-2005, 12:09 PM
In the spirit of posting for future information. _SourceFolder is the full path to the location on the clients machine that the update.exe was run from.

So for example if the True Update client is located in:
C:\Program Files\MyApp\Update\update.exe

Then the variable _SourceFolder would contain:
C:\Program Files\MyApp\Update\

Adam Kapilik