/build/static/layout/Breadcrumb_cap_w.png

SetACL in win7

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

Answers (1)

Posted by: anonymous_9363 12 years ago
Red Belt
0
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.
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