|
|
#1 |
|
Junior Member
Join Date: Aug 2006
Location: IRELAND
Posts: 37
|
Drive permissions
Hi
What I am wondering is there a way of finding out what permissions are on the drive that an application is being installed to |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
What kind of permissions are you talking about? You can change file permissions using the AccessControl plug-in, but I don't know of any plug-in that queries the granted permissions. Any special reason you'd like to query the permissions before setting them? Or do you want just to query?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Aug 2006
Location: IRELAND
Posts: 37
|
Thanks for the reply Kichik, The reason for the query was to check if the drive that has been choosen for the application to install to is writable before trying to install, I have got around it by creating a directory on the drive and then checking if it exists if it does then the drive must be writable if not then the drive is not writable. and the installer can exit proberly.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|