/build/static/layout/Breadcrumb_cap_w.png

Error 1406

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

[HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3]
@=""
"ACL"=hex:02,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


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?


Thanks

0 Comments   [ + ] Show comments

Answers (2)

Posted by: anonymous_9363 12 years ago
Red Belt
1
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.
Posted by: justforthispost 12 years ago
Senior Yellow Belt
0
Thanks I've managed to get it working. And ofcourse I've created a MST with the modifications I did :)
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ