Minifilter install fail Could not get services associated with driver package - Advanced Installer Community
ABO
Posts: 1
Joined: Tue Feb 21, 2023 2:03 pm

Minifilter install fail Could not get services associated with driver package

Hello,

I have issue to install a minifilter driver, it was working before but microsoft changed the INF format for signing process.
It now requires this kind of decorator :



[DefaultInstall.NTamd64]
OptionDesc = %ServiceDescription%
CopyFiles = MiniFilter.DriverFiles

[DefaultInstall.NTamd64.Services]
AddService = %ServiceName%,,MiniFilter.Service


Before it was like this :


[DefaultInstall]
OptionDesc = %ServiceDescription%
CopyFiles = MiniFilter.DriverFiles

[DefaultInstall.Services]
AddService = %ServiceName%,,MiniFilter.Service



But with this new format Msiexec fails to install the driver with DIFXAPP :

DIFXAPP: ERROR: Could not get services associated with driver package.
DIFXAPP: ERROR: The driver installation failed. Attempting to undo system changes ... (Error code 0x643: Erreur irrécupérable lors de l’installation.)
DIFXAPP: ERROR: Unable to revert to a previous driver store for service ''.
DIFXAPP: ERROR: Will attempt to uninstall the driver.
DIFXAPP: ERROR: Error unable to open service '' to delete it because of error 0x7B
DIFXAPP: ERROR: Error occurred while deleting service to uninstall the driver store.
DIFXAPP: ERROR: Error encountered while uninstalling driver store.
DIFXAPP: ERROR: Error 0x643 encountered while trying to undo the install of driver store

Can you help me on this ?
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Minifilter install fail Could not get services associated with driver package

Hello and welcome to our forums,

Indeed, it would look like the difxapp is failing.

Unfortunately, I'm afraid that this is a 3rd party tool (it is not designed by us) and therefore much support can not be offered here.

Perhaps you could try a different approach to this? At a first search, I was able to find this tool: PnpUtil.exe

We could try to call this tool through a script to instlal our drivers.

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”