PDA

View Full Version : SourceFolder returns UNC path in Vista


kraigyb
11-15-2007, 04:29 PM
I recently found that using the Session Variables %SourceFolder%, %SourceDrive%, and %SourceFilename% in Windows Vista will return a UNC path if the setup is run from a mapped network drive.

Example:
if K: is mapped to \\mypc\desktop
Run K:\Setup.exe:
%SourceDrive% = \\mypc
%SourceFolder% = \\mypc\desktop
%SourceFilename% = \\mypc\desktop\Setup.exe

When running from a local drive in Vista or when running on XP they return the path with the correct drive letter.

Is this the correct functionality in Vista, and is there another way around this?

Thanks,
Craig Booth
Attainment Company, Inc

Adam
11-16-2007, 01:50 PM
I have confirmed this on a Vista machine. I have submitted this for developer review but looks like it may be out of our control.

REF: 17011

Adam Kapilik