Application Manager upgrade installation fails and rolls back

Version 2

    Introduction

    You find that while deploying a new version of Application Manager or Application Control that the installation will fail and roll back.

     

    Detail

    This particular issue was seen to be caused by one of the Application Control drivers being disabled. This is evident in this MSI log extract:

     

    DIFXAPP: INFO: Driver store reference information does not exist for service 'AMMiniFilter'. So, no undo for this service.

    DIFXAPP: INFO: Unable to revert to a previous driver store for service 'AMMiniFilter'.

    DIFXAPP: INFO: Will attempt to uninstall the driver.

    DIFXAPP: ERROR: Error unable to open service 'AMMiniFilter' to delete it because of error 0x424

    DIFXAPP: INFO: Successfully removed '{6F086A46-EB2A-45F9-8698-9D25C6D0A5AE}' from reference list of driver store entry ''

    DIFXAPP: INFO: Driver Store entry '' removed.

    DIFXAPP: INFO: RETURN: DriverPackageInstallW (0x65B)

     

    The driver was disabled in the registry under this value:

     

    Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<Application Control Driver name>

    Value: Start

    Type: REG_DWORD

    Data: 0x00000004

     

    More information on how this value works can be found here: https://technet.microsoft.com/en-us/library/cc959920.aspx 

     

    Resolution

     

    Setting the value to be enabled resolved the issue. Note that different drivers have different default start values:

     

    Header 1Header 2
    AmFilterdriver0x00000000
    AmMiniFilterDriver0x00000003
    AmFileSystemFilter0x00000003
    AsModLdr0x00000001
    AppSense Application Manager Agent0x00000002
    Ivanti Application Manager Agent0x00000002