Archive: REBOOTOK not adding entires in registry


REBOOTOK not adding entires in registry
I'm trying to figure out how to force NSIS to delete a locked file after the reboot (when the file isn't locked any more). I thought writing Delete /REBOOTOK file.exe will be enough but that doesn't add any record to neither of the RunOnce subkeys. Did I misunderstand how this option works or is something else wrong?

I have an English version of Win XP SP2 Pro and NSIS 2.4

regards
simon


The key you should look in is PendingFileRenameOperations under HKLM\SYSTEM\CurrentControlSet\Control\Session Manager


I knew something was wrong... thank you very much demiller9!