Error - Could not write value VersionMajor to key

Got a problem you cannot solve? Try here.
Darren
Posts: 13
Joined: Fri Aug 15, 2008 3:35 pm

Error - Could not write value VersionMajor to key

Postby Darren » Mon May 04, 2009 9:32 am

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

sberkovskiy
Posts: 3
Joined: Wed Nov 24, 2010 5:38 am

Re: Error - Could not write value VersionMajor to key

Postby sberkovskiy » Thu Dec 26, 2013 2:25 am

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.

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Error - Could not write value VersionMajor to key

Postby FrancescoT » Fri Dec 27, 2013 10:43 am

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

sberkovskiy
Posts: 3
Joined: Wed Nov 24, 2010 5:38 am

Re: Error - Could not write value VersionMajor to key

Postby sberkovskiy » Sat Jan 04, 2014 3:54 am

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.

Steve
Posts: 117
Joined: Fri Jun 16, 2006 9:51 pm
Location: Canada eh

Re: Error - Could not write value VersionMajor to key

Postby Steve » Thu Aug 09, 2018 12:13 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 51 guests