fd1
Posts: 21
Joined: Fri Sep 02, 2005 8:12 pm

Setting folder permissions

Hi,
Is ther a sample vbscript out there that adds a user to a folder permission, meaning adding a user name under folder properties/Security tab and setting its permissions?
Trying to do it from AI is not helping me achieve what I want. It seems that when adding permissions to a folder from AI it basically eliminates all inherited permissions.
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Hi,

You are right. When setting permissions from Advanced Installer, all the inherited ones are eliminated. I'm afraid this is the way Windows Installer works.

You can download a sample VBScript, that allows you to set permissions, from this URL location:
http://isg.ee.ethz.ch/tools/realmen/det/dacl.en.html

All the best,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com
fd1
Posts: 21
Joined: Fri Sep 02, 2005 8:12 pm

Awsome!, exactly what I need :D
thanks ciprian

Return to “Common Problems”