Originally Posted by Anders
NSIS has no support for running things as System, if you want to do that you need to call a utility like psexec or use a service.
Did you take ownership of the key with AccessControl::SetRegKeyOwner before changing the ACL as admin?
Did you check with Process Monitor to make sure this is a access denied issue?
Are you using SetRegView?
thanks for mentioning PsExec..
that's what im using to delete legacy keys ..
however.. i have seen apps use AccessControl to delete legacy keys, but when i run those apps on my computer.. it doesn't work.
i have also ran into SetACL, which in it's documentation, says: "can be used to delete those pesky legacy keys".
neither of which works..
and yes.. i tried setregview, SetRegKeyOwner first, etc..
on my computer.. legacy keys are registered to "System".
is this the case just for Windows 7?
i have been looking into this for quite a while and it seems im the only one who seems to have a problem deleting legacy keys.
i can use PsExec.. but if i could find an alternative.. it would be better.. as PsExec scares people.. they think im trying to "secretly take over" their computers.. lol.
thanks for any other suggestions/tips.