Getting path to remote My Documents via UAC?
I'm testing my installer on a Standard User account for which the My Documents folder has been set to be on another computer (so the path to it is //myserver/myaccount/pathtomydocuments/).
The installer calls UAC::GetShellFolderPath() with ${CSIDL_PERSONAL} to get the path to the user's My Documents folder. This works fine when the installer is running with user privileges.
Once I call UAC::RunElevated(), however, the call to GetShellFolderPath() fails; the path returned is the empty string.
This only occurs if the My Documents folder has been mapped to another system; as soon as I restore it to its default location, things work fine.
Any idea what might cause this?