This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Checking write/change privileges on folders
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 07, 2009
04:40 AM
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)
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 07, 2009
05:03 AM
Hi,
what about Is(DIR_WRITEABLE, szDir)?
Johannes
what about Is(DIR_WRITEABLE, szDir)?
Johannes
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 08, 2009
08:30 AM
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.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)