cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
RGfocus
Level 3

Checking write/change privileges on folders

Hi! In my Installscript MSI project users can run the setup in administrative mode (/a) to set up a license server for our product, usually to a Windows server share. Is there an easy way to check for write/change privileges on the target folder on a share? I could create a file and then delete it, but not very elegant..(becomes a headache if user is allowed to create a file but not delete it)
Labels (1)
0 Kudos
(2) Replies
Johannes_T
Level 6

Hi,
what about Is(DIR_WRITEABLE, szDir)?

Johannes
0 Kudos
RGfocus
Level 3

Thx Johannes, that works for write permissions - BUT - I 4got to mention that I also need to check for modify permissions. User must be able to delete files/folders.
0 Kudos