Archive: Delete files after reboot


Delete files after reboot
Hi everyone

My NSIS Installation-program make a Folder in the %temp% folder. Now, i want, that these files deleted, after a reboot. I know, how i can delete the files after the installation (with rebootok). But, the files must be delete after a reboot, and not after the installation. You have an idea??

Sorry for my language, i'm a swiss-german! :-)

Thanks...

blowdow


To do that either lock the files (using FileOpen) before trying to Delete them (with /rebootok) or write a silent executable you run in HKLM RunOnce to do it.

Stu