Setting Permissions on Registry Keys Using Orca and Excel.
Siddram wrote an article on how to set permissions on files, folders and registry keys named: Using the Wise Package Studio to Set File, Folder, and Registry Security Permissions
You can find it here. Before I start this article I want you to be aware of this!
The security on your folder looks like this:(I removed my workstation name).
After installing a MSI where I gave the Domain Users full control on the folder, the security now looks like this.
If this is not a problem, then go ahead and use it in Wise Package Studio. I admit it's easy in Wise (the results can be problematic) to set permissions on a file, or two files, maybe three registry keys.
But what if you need to set permissions on let's say 100 registry keys.
It is very time consuming in Wise. Orca can do the job in a few steps.
I'll describe how, but remember what I wrote in my NOTE! Same applies to Orca.
Orca, the LockPermission Table and Excel.
Step 1
Let's say that on 20 registry keys the Domain Users need full control.
- Set permissions on a key using Wise Package Studio. This will show you the permission code (yellow in the print screen) in the LockPermissions table in Orca. Every permission has a different permission code. Save your WSI/MSI.
- Edit your WSI using Orca. (Of course Orca needs to be installed).
- Select the LockPermissions table and you'll see something similar like this print screen.
The Domain Users have Full Control on registry1329.
Step 2
The Tables need to be exported.
- In the menu go to Tables | Export Tables.
- Select Registry and Lockpermissions and click Ok.
Two files named Lockperm.idt and Registry.idt are created in the same folder as your WSI/MSI.
Step 3
Open Lockperm.idt and Registry.idt with Excel.
- In the Registry.idt remove the keys that don't need permissions.
- Copy the keys that need permissions from Column A from the Registry.idt and paste them in to Column A of the Lockperm.idt.
- In your Lockperm.idt, drag the word Registry in Column B, the word Users in Column D and the numbers in Column E down to the last Row of Column A and save.
Your Lockperm.idt now looks like this:
Step 4
Now the Lockperm.idt needs to get imported into the WSI/MSI using Orca.
- In the menu go to Tables | Import Tables.
- Select the the Lockperm.idt file.
- Don't forget to Save.
You'll see the same columns in Orca(shown below) as you saw it in the Lockperm.idt with Excel.
Step 5
- Open the WSI/MSI using Wise Package Studio
- Go to the Setup Editor. Select the Tables tab, scroll down and select LockPermissions.
Verify that the permissions are set and you are done.
But always remember, it replaces the permissions.


