Prev Previous Post   Next Post Next
Old 22nd August 2012, 17:28   #1
dr_awol
Junior Member
 
Join Date: Jul 2012
Posts: 8
Registry, Access Control

My installer requires me to change the Current onscreen keyboard from windows to a different keyboard...

my problems is that when i try to update the registry setting it does not change.. i looked into this and i found you can manually change ownership to one of my users and the installer will work. with just WriteRegStr HKLM

is there a way i can avoid manually changing ownership? I looked in to the AccessControl plug-in but does not seam to be working

code:
AccessControl::GrantOnRegKey \
HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Accessibility\ATs\osk" "StartExe" "FullAccess"

AccessControl::GrantOnRegKey \
HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Accessibility\ATs\osk" "ATExe" "FullAccess"

# Register
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Accessibility\ATs\osk" "ATExe" "Somelocation\MyKeyboard.exe"
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Accessibility\ATs\osk" "StartExe" "Somelocation\MyKeyboard.exe"

dr_awol is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
access control, registry

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump