Archive: overwritemode?


overwritemode?
I am having trouble making sense of what the docs say about the File instruction. They refer to the "overwrite" mode (being set either to "try" or to "on"), but they don't explain how I make this setting or what the other optionsm, if any, might be.

What I want to do is give the user the opportunity NOT to install my app's default data files if "real" data files (from a previous installation) already exist on the disk.

Can you point me in the right direction?

Thanks,

JAS


use IfFileExists


And to set the overwrite flag use SetOverwrite.


I can't find SetOverwrite in the Docs. What am I missing?

JAS


http://nsis.sourceforge.net/Docs/Chapter4.html#4.8.2.7

[Note that that link refers to the 2.0b4 CVS documentation]

-Stu