10/19/2011 3324 views
I'm creating an msi (in wps 8) for a own devolopted application. Our developers are not to intrested in making any changes in the application so I have to do some fixes to get the application to work.

There are some registry keys that the users have to have change rights to get the program to start/work correct.
I try to use SetACL to change the premisions. (It works fine in WinXP but the msi crashes in Win7).
The string I'm using in Custom Action is setacl.exe -on "HKEY_CLASSES_ROOT\xxx" -ot reg -actn ace -ace "n:S-1-1-0;p:full;s:y" -silent

If I run it in Command Promt the string works fine.

The applications is 32-bit and OS is 64-bit

Help please...
0 Comments   [ + ] Show comments


Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

All Answers

HKCR is a merge of HKCU\SoftwareClasses and HKLM\Software\Classes so you should target HKLM for explicit permission changes.

However, it seems you're targeting either an extension branch (e.g. ".PDF") or a ProgID branch (e.g. "pdffile"), neither of which should require permission changes if the package is authored correctly.
Answered 10/19/2011 by: VBScab
Red Belt