View Single Post
Old 17th January 2012, 15:00   #1
rijukk
Junior Member
 
Join Date: Jul 2011
Posts: 9
In 64bit installer AccessControl fail to set registry permission

I was using NSIS AccessControl plug-in to grant registry access permission

Quote:
AccessControl::GrantOnRegKey HKLM "Software\Demo" "(S-1-5-20)" "FullAccess" ;"NETWORK SERVICE"
It was working perfect, now I upgraded my installer to 64bit using "x64.nsh"'s ${RunningX64}
and SetRegView 64

Now
Quote:
AccessControl::GrantOnRegKey HKLM "Software\Demo" "(S-1-5-20)" "FullAccess"
it fail to grant permission; however i create a key in redirected node (Wow6432Node) like HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Demo. It providing proper grant permission.

Any help will be greatly appreciated

Thank you,
Riju
rijukk is offline   Reply With Quote