none
Issue installing 4.5.286 hotfix on Service & Portal. Failed on "UpdateAppConfigSettingsInPatch"? RRS feed

  • Question

  • Has anyone ever see this one when installing a hotfix on the MIM Service & Portal?  I'm installing 4.5.286.0 when it fails.  I just installed 4.4.1642.0 successfully.  It seems to have an issue with editing the config file, though I can see the file being updated twice.  I assume once for initial update pass and once for rollback.  It's SharePoint 2013 on Server 2016 (I know, I know), though I don’t think that is the issue. All MIM components and SQL on same server (test server).

    MSI (s) (DC:60) [16:53:35:241]: Executing op: ActionStart(Name=UpdateAppConfigSettingsInPatch,,)

    Action 16:53:35: UpdateAppConfigSettingsInPatch.

    MSI (s) (DC:60) [16:53:35:241]: Executing op: CustomActionSchedule(Action=UpdateAppConfigSettingsInPatch,ActionType=3074,Source=BinaryData,Target=Operation=Patch ConfigFilePath="C:\Program Files\Microsoft Forefront Identity Manager\2010\Service\\Microsoft.ResourceManagement.Service.exe.config",)

    CustomAction UpdateAppConfigSettingsInPatch returned actual error code -1 (note this may not be 100% accurate if translation happened inside sandbox)

    MSI (s) (DC:60) [16:53:35:397]: Note: 1: 1722 2: UpdateAppConfigSettingsInPatch 3: C:\Windows\Installer\MSIE484.tmp 4: Operation=Patch ConfigFilePath="C:\Program Files\Microsoft Forefront Identity Manager\2010\Service\\Microsoft.ResourceManagement.Service.exe.config" 

    MSI (c) (34:8C) [16:53:35:397]: Transforming table Binary.

    MSI (c) (34:8C) [16:53:35:397]: Transforming table Binary.

    MSI (c) (34:8C) [16:53:35:397]: Note: 1: 2262 2: Binary 3: -2147287038

    Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action UpdateAppConfigSettingsInPatch, location: C:\Windows\Installer\MSIE484.tmp, command: Operation=Patch ConfigFilePath="C:\Program Files\Microsoft Forefront Identity Manager\2010\Service\\Microsoft.ResourceManagement.Service.exe.config"

    MSI (s) (DC:60) [16:55:53:320]: Product: Microsoft Identity Manager Service and Portal -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action UpdateAppConfigSettingsInPatch, location: C:\Windows\Installer\MSIE484.tmp, command: Operation=Patch ConfigFilePath="C:\Program Files\Microsoft Forefront Identity Manager\2010\Service\\Microsoft.ResourceManagement.Service.exe.config"


    Keith

    Wednesday, February 13, 2019 1:38 AM

Answers

  • Update for anyone that runs into this:

    In the Microsoft.ResourceManagement.Service.exe.config file, the entire <system.diagnostics> section was commented out, causing the update to fail.  Uncommenting the section did the trick.


    Keith

    • Marked as answer by Keith Crosby Wednesday, February 20, 2019 3:33 PM
    Wednesday, February 20, 2019 3:33 PM

All replies

  • I've done a little more digging with ProcMon and found that them .tmp file in question is Microsoft.IdentityManagement.AppConfigPopulator.  Also with ProcMon I can see the return code of -1.  Still can't figure out why though.  Images attached.  The TMP file name is different than the log above because the file name changes each time.


    Keith

    Wednesday, February 13, 2019 9:02 PM
  • Update for anyone that runs into this:

    In the Microsoft.ResourceManagement.Service.exe.config file, the entire <system.diagnostics> section was commented out, causing the update to fail.  Uncommenting the section did the trick.


    Keith

    • Marked as answer by Keith Crosby Wednesday, February 20, 2019 3:33 PM
    Wednesday, February 20, 2019 3:33 PM