The uninstall procedure for your component should do the following:
If the component uses a direct-interface program,
ensure that the program issue a DmiCiUnregister command, if the program
is registered to the service layer and currently running,
Remove the MIF file for the component from the MIF
database by issuing a DmiCiUninstall command.
To issue this command, your uninstall procedure must identify which component
ID in the MIF database corresponds to your component.