I have written an installer. To uninstall the software I choose add/remove programs in the control panel and can remove the software. However, I have a CPL file that must be deleted during the uninstall. This file cannot be deleted if the control panel is open. (access denied)

Any suggestions as to how I can delete this file with the control panel still open?

Thanks,