Old 28th May 2003, 23:23   #1
Tolwyn
Member
 
Join Date: Sep 2001
Posts: 86
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?
Tolwyn is offline   Reply With Quote
Old 29th May 2003, 10:01   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump