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?


0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


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
Answered 01/13/2006 by: misk
Orange Senior Belt

Please log in to comment
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
Answered 01/18/2006 by: nheim
Tenth Degree Black Belt

Please log in to comment

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.

Answered 01/18/2006 by: geoffro79
Senior Yellow Belt

Please log in to comment

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.
Answered 01/19/2006 by: MSIMaker
Second Degree Black Belt

Please log in to comment