/build/static/layout/Breadcrumb_cap_w.png

Set file Security using MST

Hi all,


I was looking for a way to change the NTFS security on some files usin a MST transform file. Is this possible?
Also can I add a custom action thru a mst transform?

rgds,

Z.

0 Comments   [ + ] Show comments

Answers (4)

Posted by: misk 18 years ago
Orange Senior Belt
0
yes you can do all that through the transform.
you can use the lock permission table that is in the msi, however there are better ways to do tackle permissions. have a search on this forum for secedit and setACLS and there are numerous posts on what to do
Posted by: nheim 18 years ago
10th Degree Black Belt
0
Hi Zodiac,
as 'misk' wrote before, the 'lock permission' table isn't suitable for most ACL jobs, because in most cases it deletes all the (local and inherited) permissions which the file allready has.
Go to: http://www.appdeploy.com/scripts/view.asp?id=523
There, i have written down a tutorial for using SetACL (currently the best tool for the job) and VBS to do exactly what you need.
Hope this helps,
Regards, Nick
Posted by: geoffro79 18 years ago
Senior Yellow Belt
0
Zodiac,

If you using Wise Package studio to create your transforms and custom actions there is a good site that explains how to use the Wise interface to change folder and individual file permissions without having to use ACLS it also goes into creating custom actions.
I found the information good as a step in understanding file folder permission changes/custom actions before tackling ACL tools.
site www.ewall.org cant paste the exact link as the site im at blocks it through "websense"
-look towards the left hand side of the main page for a link regarding packaging.


Geoff
Posted by: MSIMaker 18 years ago
2nd Degree Black Belt
0
Zodiac,

I have avoided the LockPermissions table because it fails to propagate inherited permissions correctly. My preference is to use Secedit.exe within a CA and an .inf file. I have never had a failure with this.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ