I am having multiple problems setting registry permissions. Here's what I want to do:
1) create a new user "Foo"
2) create a registry key
3) give Foo full control of the key
4) give Administrators full control of the key
5) give Users read-control of the key
- If, in the AI registry key permissions tab, I give full control to Everyone, I can give full control to Foo, and installation succeeds
- if I instead give permissions per 3,4,5 above, installation fails with this error:
"An error occurred while applying security settings. STEVEFALCOMPUTER\Foo is not a valid user or group. This could be a problem with the package, or a problem connecting to a domain controller on the network Check your..."
Note that I am not using a domain controller.
I originally thought that this was happening because the action for creating the user Foo had not executed before the action to apply my registry permissions. But I think I solved that by moving the RegisterUser action earlier (btw, can this order be set back to defaults, or do I need to do that manually?).
But I then removed the permission entry for Foo, and found that I got the same error wrt permissions I am attempting to give Users, which is a build-in account.
So know I don't know why this error is occurring.
FOLLOW US
Get the latest news in Application Packaging