Announcement

Collapse
No announcement yet.

SetOverWrite and CopyFiles

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SetOverWrite and CopyFiles

    Shouldn't SetOverWrite dictate the behavior of CopyFiles?

    I tried setting overwrite to "try" and then in the same section used CopyFiles to attempt to copy files over files on the client computer that were explicitly Read Only, and the destination files were overwritten, just like that.

    Hmmm.

    That seems a bit dangerous, wouldn't you say?

  • #2
    Nope, SetOverWrite only works for File. It's dangerous if you use CopyFiles for the wrong reasons, such as the this one. Use File /oname.
    NSIS FAQ | NSIS Home Page | Donate $
    "I hear and I forget. I see and I remember. I do and I understand." -- Confucius

    Comment

    Working...
    X