Archive: overwriting entire folder contents


overwriting entire folder contents
I thought I was overwriting any previously installed files in my "id" folder, with the code below. However, I just learned that the previously installed files in fact are not being overwritten. Could I get some guidance on this, please?

; ***** definitely overwrite product id file(s) *****
SetOutPath "$INSTDIR\misc\id\"
SetOverwrite on
File /nonfatal /r "c:\myAppfolder\misc install\id\*.*"


If they are locked by a process than they will not be overwritten indefinitely. In which case, use /rebootok on File so that any files that could not be overwritten at time of installation will be overwritten after a reboot.

Stu


Thank you very much. After your reply did not seem to indicate that my code was defective, I took a closer look and found that I was running an older installer that did not reflect the code in question here. So I'm ok. Thanks!