Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to delete a file when you reboot

Status
Not open for further replies.

devinci

MIS
Feb 15, 2002
46
CA
I'm doing an uninstall application. I want to be able to delete the entire folder. I can't delete the uninstall.exe while it's still running. How would I write the code so that when your computer reboots, the file is then deleted.

Thanks...
 
I thought that install/uninstall programmes were something you bought not wrote. You can't possibly produce something as good as ,say, Wise in a morning. Which means that Wise is much the cheaper way. Or Installshield. I'm worried that if you don't know how to delete a file on boot, then you won't know how to check file versions, update the registry etc.
I see that most of your forums are Linux oriented. I don't know how complicated Linux installs are, but I do know that Windows ones are very complicated. If you get it wrong, you can screw someones computer up completely. Can't see it's worth the risk. Peter Meachem
peter@accuflight.com
 
well I do know how to check for file version and update the registry, but I'm capable of being able to delete the file, but the root folder of that application can't be delete during the boot, if it can, I don't know how to do it.

And can't see why I could screw up somebody computer by just deleting one folder containing executable files an files.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top