Problems experienced when installing Mail Utilities 2007 on an Exchange 2010 Server

Symptoms

The following error message appears on screen after completing the Setup wizard on a server with Microsoft Exchange 2010 installed.
Error during install process

Cause

This error occurs because Exclaimer's SMTP and Routing Agents are not correctly registered.

Resolution

Once the error message appears, click OK to close it. If the Mail Utilities control panel opens, close it. Follow the steps below to register the missing Transport Agents.
  1. Open the Exchange Management Shell as follows: Click Start, click All Programs, click Microsoft Exchange Server 2010, click Exchange Management Shell
  2. Copy the following PowerShell script to the clipboard and paste it into the Exchange Management shell (note that this will force a restart of the Microsoft Exchange Transport service): # Start of script $MURegData = Get-ItemProperty -Path "hklm:\\Software\Exclaimer Ltd\Exclaimer" [string]$ReplayPath=Get-TransportServer -identity $Env:COMPUTERNAME | Select-Object -Property ReplayDirectoryPath $ReplayPath=$ReplayPath.Substring(22,$ReplayPath.Length-23) $dllpath=$MURegData.ControlFilePath+"ExclaimerAdaptorExchange2007.dll" Install-TransportAgent -Name "ExclaimerSmtpAgent" -TransportAgentFactory "ExclaimerAdaptorExchange2007.ExclaimerSmtpAgentFactory" -AssemblyPath $dllpath Install-TransportAgent -Name "ExclaimerRoutingAgent" -TransportAgentFactory "ExclaimerAdaptorExchange2007.ExclaimerRoutingAgentFactory" -AssemblyPath $dllpath Enable-TransportAgent -Identity ExclaimerSmtpAgent Enable-TransportAgent -Identity ExclaimerRoutingAgent Restart-Service "MSExchangeTransport" Set-ItemProperty -Path "hklm:\\Software\Exclaimer Ltd\Exclaimer" -Name "ReplayPath" -Value $ReplayPath Get-TransportAgent #End of script
  3. Once #End of script appears on the screen, Type Exit and press the Enter key to exit the Exchange Management Shell.

More Information

Uninstalling Mail Utilities from Programs and Features in the Windows control panel will not uninstall the ExclaimerSmtpAgent and the ExclaimerRoutingAgent. Please follow the steps below to uninstall the Exclaimer agents via the Microsoft Exchange Management Shell.
  1. Open the Exchange Management Shell as follows: Click Start, click All Programs, click Microsoft Exchange Server 2010, click Exchange Management Shell
  2. Copy the following PowerShell script to the clipboard and paste it into the Exchange Management shell (note that this will force a restart of the Microsoft Exchange Transport service): # Start of script Uninstall-TransportAgent -Identity "ExclaimerSmtpAgent" -confirm:$false Uninstall-TransportAgent -Identity "ExclaimerRoutingAgent" -confirm:$false Restart-Service "MSExchangeTransport" #End of script
  3. Once #End of script appears on the screen, Type Exit and press the Enter key to exit the Exchange Management Shell.