I'm trying to edit a msi installer to add a regkey in HKLM but I'm getting this error:

Error 1406. Could not write value of ACL to key \Software\Orl\WinVNC3. Verify that you have sufficient access to that key, or contact your support personnel.

I've made an export of that key with the register editor and it looks like this:

Windows Registry Editor Version 5.00


Now I want to add this to the msi in the Registry table. I've filled in the Rigistry column, filled the Root column with 2, filled the Key column with SOFTWARE\ORL\WinVNC3, filled the Name column with ACL, filled the Value column with #x02,00,2c,00,01,00,00,00,00,00,24,00,03,00,00,00,01,05,00,00,00,00,00,05,15,00,00,00,e8,c8,ab,63,fe,73,1a,3c,8a,97,1c,cd,c9,13,00,00 and Filled the Component column.

If I remove the #x from the Value column the key gets entered into the registry but it's not a reg_binary but a reg_sz.

Anyone who can help me with this issue?

0 Comments   [ - ] Hide Comments


Please log in to comment

Community Chosen Answer


Remove all the commas from the text following the '#x'.

Also, if this is a vendor MSI, you would be best advised to create a transform (MST), rather than editing the MSI.
Answered 01/20/2012 by: VBScab
Red Belt

Please log in to comment
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Thanks I've managed to get it working. And ofcourse I've created a MST with the modifications I did :)
Answered 01/20/2012 by: justforthispost
Senior Yellow Belt

Please log in to comment