topshoeter
25th July 2013 13:20 UTC
Browse for drive mapping in Windows 8
Hi,
In Windows 8 I map a network location to say Z:
In my installation, if I try to browse for INSTDIR then the drive mapping (Z:) doesn't show in the tree. This works fine in Windows 7.
Any ideas? Please?
Thanks,
Gerry.
BTW I am running W8 in a virtual box.
Anders
25th July 2013 16:12 UTC
Is the installer elevated?
topshoeter
25th July 2013 17:44 UTC
Hi, thanks for answering.
If you mean did I run as administrator, then yes.
http://www.gerico.nl/nsis.jpg
Anders
25th July 2013 18:31 UTC
NSIS just calls SHBrowseForFolder, it is a Windows issue.
It has been like this since Vista, mapped drives are not preserved across UAC boundaries. This is by design, you can probably find more info about it on MSDN and/or the building Vista/7 blogs...
Edit:
http://blogs.msdn.com/b/cjacks/archi...ows-vista.aspx
topshoeter
26th July 2013 09:46 UTC
Ok, thanks. I just find it strange that the drive does show up in Windows 7.
Anyway, thank you for taking the time to help.
Gerry.
Anders
26th July 2013 11:11 UTC
Originally posted by topshoeter
Ok, thanks. I just find it strange that the drive does show up in Windows 7.
Anyway, thank you for taking the time to help.
Gerry.
Admin user vs normal user? In the first case elevation uses the other login token (split token) which has full access to your profile/settings, the second case you end up running as a different user...