PDA

View Full Version : Error1406.Could not write value VersionMajor to key



Saranya Sekar
04-18-2007, 10:58 AM
hi,
i am using a Basic MSI project. During the execute sequence while writing the registry i am getting Error 1406.Could not write value VersionMajor to key\Software\Microsoft\Windows\CurrentVersion\Uninstall\{125LKJ89-9E54-4B2B-B57C-56HJ8J64736C}. System error . Verify that you have sufficient access to that key, or contact your support personnel, where 125LKJ89-9E54-4B2B-B57C-56HJ8J64736C is my product code.
Can anyone help. its really important coz during the silent and passive installation , the installation terminates coz of these errors.

Saranya Sekar
05-18-2007, 05:11 AM
hi, we hav found the solution to this problem. we had change the productVersion Property of installshield in a format that is not accepted. ie Productversion format is aa.bb.cccc however v used a different format. hence during writing a registry, this error had occured.

Jaggana
05-29-2009, 08:05 AM
Thank you, you save my life !!