Page 1 of 1

Error - Could not write value VersionMajor to key

Posted: Mon May 04, 2009 9:32 am
by Darren
I am building an install for one of our products using IA Studio 8. It is installing to Server 2003 with SP2. I am logged in as full Admin. The install is getting an error trying to write the reg key for the VersionMajor and the uninstall entry for the same. The error reads:

Could not write value VersionMajor to key \\Products\\guid goes here\\InstallProperties. Verify that you have sufficient access to that key, or contact your support personnel.

And, of course, I get the Abort, Retry, Ignore buttons as options for the error message. I get the same error message for the key:

\\Software\\Microsoft\\Windows\\CurrentVersion\\Unistall\\{guid goes here}

There is nothing else running during the install. Have I missed something obvious? I searched the boards and didn't find a reference to this problem.

Help!

Darren

Re: Error - Could not write value VersionMajor to key

Posted: Thu Dec 26, 2013 2:25 am
by sberkovskiy
I have the same problem with IA 9 on Windows 8.1.

Installers build via continues integration system (Jenkins) is getting the same error trying to write the registry key for the VersionMajor. Error occurs on all other PC with different windows version.
Installers rebuilded on the same workspace, but not under Jenkins, works fine.

Please, advise.

PS. I've tied to run Jenkins as usual local user, not system. Did not help.

Re: Error - Could not write value VersionMajor to key

Posted: Fri Dec 27, 2013 10:43 am
by FrancescoT
Dear sberkovskiy,

honestly, I never used that tool ... I can only say that woks fine with TFS.

Then also, It is not clear to me which is exactly the problem you are having ... anyway, if IA works fine as standalone, I can only suppose that exist a problem with the tool you are using or with the command line parameters used to run the build process from your tool.

Regards

Re: Error - Could not write value VersionMajor to key

Posted: Sat Jan 04, 2014 3:54 am
by sberkovskiy
Thanks for your reply.
The problem wasn't related to Jenkins. The value of product version property was generated incorrectly by build script. It was a garbage like a "0Sa4/ ".
If anyone face the same problem - check the product version and other project properties.

Re: Error - Could not write value VersionMajor to key

Posted: Thu Aug 09, 2018 12:13 am
by Steve
Make sure that you are using a valid version number...
For example:
'v1.2.0.1011' is invalid because it contains an alpha character of 'v'
'1.2.0.1011' is valid because it only contain numeric digits