How can I set NTFS security permissions for registry keys, files, and folders with a WiseScript installation?
You must use third party tools to modify NTFS permissions. Microsoft offers tools to modify NTFS permissions on Windows NT/2000/XP. Windows Installer based installations (.MSI) offer built-in support for modifying NTFS permissions.
Tools used to modify file and directory permissions. Cacls.exe is installed as a part of the operating system on Windows NT/2000/XP. The utility is located in the system directory (C:\WinNT\System). Xcacls.exe is a utility available with the Windows NT/2000 resource kit. Use the /? command line parameter to view the command line parameters available with cacls.exe.
Regini.exe is used to modify registry permissions. Regini.exe is a utility included with the Windows NT/2000 Resource Kit. View Microsoft's article Q237607, "How to Use Regini.exe to Set Permissions on Registry Keys", for information regarding Regini.exe.
Below are the steps to call regini.exe using WiseScript. The steps are identical for calling xcacls.exe. Regini.exe and xcacls.exe must be installed with your installation, because these utilities are not installed as part of the operating system.
Use Execute Program script actions to call utilities to modify and view NTFS security permissions. WiseScript does not offer built-in functionality for security permissions, unlike Windows Installer.