Hello,
is there a way to check the selected targetdir path for being a non network path?
The user must not be able to install one of the setup types to a server or mapped drive. I can check for double backslashes but how to identify a mapped drive?
Thanks in advance
Validate TargetDir
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Validate TargetDir
Dear Anja,
Unfortunately, a mapped drive can't be identified by its path.
I suppose this will be possible only with developing an external component for that (an EXE or a DLL).
I can only suggest to have a look at the following link;
http://stackoverflow.com/questions/4396634/how-can-i-determine-if-a-given-drive-letter-is-a-local-mapped-usb-drive
Regards
Unfortunately, a mapped drive can't be identified by its path.
I suppose this will be possible only with developing an external component for that (an EXE or a DLL).
I can only suggest to have a look at the following link;
http://stackoverflow.com/questions/4396634/how-can-i-determine-if-a-given-drive-letter-is-a-local-mapped-usb-drive
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 103 guests