Error - Could not write value VersionMajor to key

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

Error - Could not write value VersionMajor to key

Post 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
sberkovskiy
Posts: 3
Joined: Wed Nov 24, 2010 5:38 am

Re: Error - Could not write value VersionMajor to key

Post 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.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Error - Could not write value VersionMajor to key

Post 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
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

Post 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.
Steve
Posts: 117
Joined: Fri Jun 16, 2006 9:51 pm
Location: Canada eh

Re: Error - Could not write value VersionMajor to key

Post 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
Post Reply