|
|
#1 |
|
Junior Member
Join Date: Feb 2010
Posts: 3
|
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 |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Feb 2010
Posts: 3
|
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. |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Nov 2005
Posts: 115
|
'SetOverWrite off' didn't work? http://nsis.sourceforge.net/Docs/Chapter4.html#4.8.2.8
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Feb 2010
Posts: 3
|
Uhm - I didn't recognized this option...
I think this is what I'm searching for! Thanks |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|