"Error 1406. Could not write value BrandList to key \SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{ProductCode}. System error . Verify that you have sufficient access to that key, or contact your support personnel."
I am trying to write BrandList Value under \SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{ProductCode} using
Code: Select all
Write Registry Key HKLM\$MC_REGISTRYKEY$\BrandList, $MC_BRANDLIST$
If I ignore the error the rest of the installation is performed successfully. When registry key Uninstall\{ProductCode} is created without any issues then why there is an error related to permission on writing a value to an existing registry key. After all, both values are written by Windows installer.
Can someone please help me resolve this issue.