Select only local drive and folder from browse dialog window
I am using NSD_CreateBrowseButton with nsDialogs::SelectFolderDialog "" "" in my installer for bower for folder dialog. But this lists all the drives,folders and network folder and mapped drives.But i want user to only select the local drives and folders. So he should not select network path and also mapped network drives. So i need either these network folders to not come in browse dialog. If it is not possible to do in NSIS then i need to display a message if he selects a network folder or mapped network drive. How it can be done?