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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 08/21/2009 by: VBScab
Red Belt

Please log in to comment
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?
Answered 08/21/2009 by: endasil
Yellow Belt

Please log in to comment
0
Stopping the driver? How would you do that?

Is this a kernel-level driver, BTW?
Answered 08/21/2009 by: VBScab
Red Belt

Please log in to comment
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. :)
Answered 08/21/2009 by: endasil
Yellow Belt

Please log in to comment
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.
Answered 08/31/2009 by: AngelD
Red Belt

Please log in to comment
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.
Answered 11/19/2014 by: ankur12sharma
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity