Summary
Details
First check the SMEX_RIFRemoteInstallAgent.log for the following strings:
[ rUtilRegistry.cpp( 694)] DEBUG Open key: SOFTWARE\Microsoft\Exchange\Setup succeed.
[ rUtilRegistry.cpp( 710)] DEBUG [ rUtilRegistry.cpp( 718)] DEBUG ==> ReadRegValueWithExceptionThrown
[ rUtilRegistry.cpp( 395)] WARN !!! Failed to query reg value: NewestBuild, code: 2
[ rUtilRegistry.cpp( 730)] DEBUG The key NewestBuild was not been found.
[ rUtilRegistry.cpp( 739)] DEBUG [ rUtilRegistry.cpp( 718)] DEBUG ==> ReadRegValueWithExceptionThrown
[ rUtilRegistry.cpp( 395)] WARN !!! Failed to query reg value: MsiProductMajor, code: 2
[ rUtilRegistry.cpp( 730)] DEBUG The key MsiProductMajor was not been found.
[ rUtilRegistry.cpp( 710)] DEBUG [ rUtilRegistry.cpp( 718)] DEBUG ==> ReadRegValueWithExceptionThrown
[ rUtilRegistry.cpp( 395)] WARN !!! Failed to query reg value: NewestBuild, code: 2
[ rUtilRegistry.cpp( 730)] DEBUG The key NewestBuild was not been found.
[ rUtilRegistry.cpp( 739)] DEBUG [ rUtilRegistry.cpp( 718)] DEBUG ==> ReadRegValueWithExceptionThrown
[ rUtilRegistry.cpp( 395)] WARN !!! Failed to query reg value: MsiProductMajor, code: 2
[ rUtilRegistry.cpp( 730)] DEBUG The key MsiProductMajor was not been found.
Based on the logs, the error occurs because the MSA installer is looking in the wrong Registry Hive for the currently installed version of Exchange.
In Exchange 2013, the version information is stored in the [SOFTWARE\Microsoft\ExchangeServer\v15\Setup] key. Previous versions of Exchange keep the version information in the [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\Setup]. Because of this change in location, the MSA installation process cannot find the current Exchange version information. If you are using Exchange 2013, there will not be any key or value listed in [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\Setup].
To fix the error:
- Backup and then remove the following registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\Setup].
Important: Always back up the whole registry before making any modifications. Incorrect changes to the registry can cause serious system problems.
- Log in to the WFBS server console and install the MSA.
- Restore the backed up registry key.