Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 30th April 2007, 13:52   #1
f1nn
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
f1nn is offline   Reply With Quote
Old 30th April 2007, 18:17   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 1st May 2007, 08:35   #3
f1nn
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.
f1nn is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump