Writing a self destructing exe file Please Sign up or sign in to vote. Explains how you can have a program delete itself once it has finished running without a reboot Introduction Uninstall programs typically want to delete themselves at the end of the un-installation, but executable cannot delete itself by simply calling the DeleteFile function. By calling the Selfdestruct() function showed bel..