mfernau
1st March 2010 15:23 UTC
FILE without overwriting?
Hello,
is it possible to use the FILE-Command without overriding already existing files?
We have several dozen (if not hundreds) files which need to be copied only if they aren't exists. It would be nice to have a FILE-Command with an extra option to NOT override existing files. Otherwise I need to write a second script which generates the nsis-script with tons of if-statements.
Regards,
Martin
mfernau
1st March 2010 15:45 UTC
okay, nevermind. I found a solution: http://forums.winamp.com/showthread....file+overwrite
But maybe it would be smarter way to add an extra option to the FILE-Command to not overwrite the destination. This way one can copy a whole directory (using *.*) without testing each file of existence.
redxii
1st March 2010 16:53 UTC
'SetOverWrite off' didn't work? http://nsis.sourceforge.net/Docs/Chapter4.html#4.8.2.8
mfernau
3rd March 2010 08:12 UTC
Uhm - I didn't recognized this option...
I think this is what I'm searching for!
Thanks