MsiInstaller failed with event id: 1042

Saravanan Balasubramanian 266 Reputation points
2020-12-08T23:16:54.053+00:00

Hi guys,

We were deploying a software client using GPO for years to all our workstations.
Later we need to upgrade the software client, so we manually upgraded all the clients ( we started manual upgrade as a precaution & to observe how it would work in our environment)

Now we want to use the GPO with the new client so any workstations we put in the domain will get the new client only.

The problem is :
the moment we create a GPO using the new client, all the machines which was upgraded manually is again getting uninstalled and reinstalled.

To avoid this, we tried to replace the file in source with the new client.

By doing, i find the client is not getting uninstalled and reinstalled which is what we expected.

But any new machine which is getting added to domain is not installing the client at all.

the msiinstaller is beginning the installation and ending it immediately with event id: 1042

"Ending a Windows Installer transaction: {aaaa4444-cccc3333-bbbb-4444}. Client Process Id: 1116."

So, could you guys suggest a solution to this,

simply We dont want any current workstations to uninstall & re-install the client however any new workstations added to the domain should get the new client.

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,072 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Hannah Xiong 6,261 Reputation points
    2020-12-09T03:20:30.193+00:00

    Hello,

    Thank you so much for posting here.

    Event ID 1042 is a notification that the Windows installer is ending the installation process. As mentioned, the new machine which is added to the domain will not install the software.

    1, Have we added the new machine to the OU which is linked to the GPO?
    2, If we run "gpresult /h C:\report.html" on the new machine, could we see the configured GPO?
    3, Or is there any error message on the gpresult report?

    Or we could refer to the below document to troubleshoot software installations by using Windows application management debug logging.

    https://learn.microsoft.com/en-us/troubleshoot/windows-server/group-policy/troubleshoot-software-installations-debug-logging

    For any question, please feel free to contact us.

    Best regards,
    Hannah Xiong

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Hannah Xiong 6,261 Reputation points
    2020-12-10T02:10:23.727+00:00

    Hi,

    Thank you so much for your feedback.

    The computer account cannot access the MSI file. Try add Everyone group Read permission in the folder where you have the .msi installer.

    Reference: https://social.technet.microsoft.com/Forums/windows/en-US/993cc24a-9cc9-4ffa-8aa4-11f9ee836b1b/error-the-install-of-application-from-policy-failed-the-error-was-1612?forum=winserverGP

    For any question, please feel free to contact us.

    Best regards,
    Hannah Xiong

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.