/build/static/layout/Breadcrumb_cap_w.png

DIFXAPP : Could not add driver store reference to the service when Uninstalling driver package

I have created a msi package for installing and uninstalling a driver and some other applications.
The installation phase works fine, but when uninstalling i get a number of errors. Any ideas on how to
solve these issues would be most welcome. If there is any other info i can contribute with to make the
problem easier to solve for you, i will be happy to provide it.



The log generated by msiexec during uninstall is the same on both Windows XP and Vista.

DIFXAPP: 'CustomActionData' property 'DIFxApp Version' is 2.1.

DIFXAPP: INFO: ENTER: DriverPackageUninstallW
DIFXAPP: INFO: Uninstalling driver package C:\windows\system32\DRVSTORE\so_tdi_6F2DFC84583A1A0DF86A4FC1B84C51EFB2155DDD\so_tdi.inf...
DIFXAPP: ERROR: Could not add driver store reference to the service.
DIFXAPP: ERROR: Error 0x643 occured while dissociating the driver from service so_tdi
DIFXAPP: ERROR: Failed to uninstall the driver. Attempting to undo system changes ... (Error code 0x643: Fatal error during installation.)
DIFXAPP: ERROR: Error occurred while uninstalling driver package 'C:\windows\system32\DRVSTORE\so_tdi_6F2DFC84583A1A0DF86A4FC1B84C51EFB2155DDD\so_tdi.inf'
DIFXAPP: INFO: Successfully re-added '{97D4B0F5-7750-47D7-AD58-F6205C25D702}' to reference list of driver store entry '
DIFXAPP: INFO: RETURN: DriverPackageUninstallW (0x643)
DIFXAPP: ERROR encountered while uninstalling driver store C:\windows\system32\DRVSTORE\so_tdi_6F2DFC84583A1A0DF86A4FC1B84C51EFB2155DDD\so_tdi.inf
DIFXAPP: UninstallDriverPackages failed with error 0x643


0 Comments   [ + ] Show comments

Answers (6)

Posted by: anonymous_9363 14 years ago
Red Belt
0
My first instinct would be to say that the driver is in use. Stop the service manually first, then see whether or not the driver uninstalls. If so, set the service to 'stop on uninstall' using the ServiceControl table and re-test.
Posted by: endasil 14 years ago
Yellow Belt
0
Thank you for your reply. I tried stopping the service manually before uninstall, but sadly the problem remains.
Do you have any other ideas on what could be wrong?
Posted by: anonymous_9363 14 years ago
Red Belt
0
Stopping the driver? How would you do that?

Is this a kernel-level driver, BTW?
Posted by: endasil 14 years ago
Yellow Belt
0
Yes, this is a kernel-level driver. And that was a typo, it meant service.Please let me know if there is any other information i can give to make it easier to figure out what went wrong. :)
Posted by: AngelD 14 years ago
Red Belt
0
DIFXAPP don't support to handle kernel drivers, so you would need to either use rundll32 or add the registry through the Registry table. A reboot will be required as kernel drivers are loaded during boot-time.
Posted by: ankur12sharma 9 years ago
Orange Belt
0
In most cases, this is network MaxNumFilters issue. By default, the MaxNumFilters value is  8. You can change it up to 14 using regedit in this location:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\MaxNumFilters values.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ