im writing an uninstaller program, is there a way to send a message to windows that after x amount of seconds, delete the uinstaller program, and within that 3 seconds my uninstaller will exit?

so far i have it that the exe will delete itself after it finished running, but the temp files are still left there, since it copies itself to the temp folder.

maybe spawn a console with the command and exit right after it spawned?