We recently saw more and more users running into the situation that the installation of the Dynamics AX 2009 Application Object Server is failing.
The log file that is created during the installation showed the following information:
When the Dynamics AX 2009 Application Object Server is installed, it is creating a new Eventlog for the Workflow Service. The Eventlog is named Microsoft Dynamics AX Workflow. The important part is the beginning of the name, as the first eight characters of the name are checked to be unique.
The Windows Installer Custom Action that is creating the Eventlog is however not checking if an Eventlog with matching first eight characters already exists and while attempting to create the new Eventlog the operation fails, which causes the whole Custom Action to fail, which causes Windows Installer to roll back the installation.
In this specific case the existing Eventlog Microsoft-Windows-Forwarding/Operational was created by the Windows Event Collector.
The Eventlogs currently existing are registered under following Registry Key (each Eventlog has its own Sub Key):
We were able to install the Dynamics AX 2009 Application Object Server by renaming the existing conflicting Eventlog name (Registry Sub Key) at the above location and renaming the Registry Key back after the AOS was successfully installed.