|
|
#1 |
|
Junior Member
Join Date: Apr 2005
Posts: 31
|
SetOverwrite ifnewer not working ... why?
Hi All.
I've been working NSIS for a while and have built an installer that works for me except for the fact that ifnewer does not appear to work for me. This is with NSIS v2.06 in Win98 and Win2k. I think I have setup the SetOverwrite command properly, and I invoke it with the ifnewer argument. However, a test I recently did showed that it doesn't work, and I really want to know why / want to know how to fix it. Perhaps someone can help? My test: 1) Build & run installer, installs file d:\path\fileA to c:\path\fileA. 2) Edit d:\path\fileA (add some text). 3) Re-build and run installer. 5) View c:\path\fileA. It's still the old fileA. not the new one that has the added text. Isn't this wrong? Shouldn't the ifnewer attribute force the new fileA (from d:\path\fileA) to overwrite the old fileA (in c:\path\fileA)? I've attached the relevant part of the build window. Note that I do want ifnewer, not the default (on), for certain files. Please please please someone show me what I've been doing wrong ... |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|